Skip to content

Commit

Permalink
Merge pull request #3489 from lbudai/fix-draft-release
Browse files Browse the repository at this point in the history
draft-release: fix release names
  • Loading branch information
lbudai committed Nov 18, 2020
2 parents 5ebf556 + 2b8f35f commit cbc4dfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
RELEASE_NAME=syslog-ng-`cat VERSION`
sed "1 i${RELEASE_NAME}\n" NEWS.md > /tmp/message
mv dbld/build/${RELEASE_NAME}.orig.tar.gz dbld/build/${RELEASE_NAME}.tar.gz
mv dbld/build/${RELEASE_NAME}.tar.gz.orig dbld/build/${RELEASE_NAME}.tar.gz
hub release create \
--draft \
Expand Down
8 changes: 5 additions & 3 deletions lib/versioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
#define VERSION_3_27 "syslog-ng 3.27"
#define VERSION_3_28 "syslog-ng 3.28"
#define VERSION_3_29 "syslog-ng 3.29"
#define VERSION_3_30 "syslog-ng 3.30"

/* VERSION_VALUE_* references versions as integers to be compared against stuff like cfg->user_version */
/* VERSION_STR_* references versions as strings to be shown to the user */
Expand Down Expand Up @@ -158,11 +159,12 @@
#define VERSION_VALUE_3_27 0x031b
#define VERSION_VALUE_3_28 0x031c
#define VERSION_VALUE_3_29 0x031d
#define VERSION_VALUE_3_30 0x031e

/* config version code, in the same format as GlobalConfig->version */
#define VERSION_VALUE_CURRENT VERSION_VALUE_3_29
#define VERSION_STR_CURRENT "3.29"
#define VERSION_PRODUCT_CURRENT VERSION_3_29
#define VERSION_VALUE_CURRENT VERSION_VALUE_3_30
#define VERSION_STR_CURRENT "3.30"
#define VERSION_PRODUCT_CURRENT VERSION_3_30

/* this value points to the last syslog-ng version where we changed the
* meaning of any setting in the configuration file. Basically, it is the
Expand Down

0 comments on commit cbc4dfe

Please sign in to comment.