summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-07-26 07:31:03 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-07-26 07:32:42 +0200
commite95165727a9e7c32c421e739a0f94d20c9862fb0 (patch)
tree0f4e37d813c2ac3f3410aab0d1d6ad764e278f0d /packaging
parent054635ec17ddbd20b00021e76b535405cc069cc0 (diff)
Fix package release for RPMs
https://gerrit.fd.io/r/#/c/7620/ introduced non snapshot version component in release number. Dash was used as delimeter, but it is not allowed in RPM's release. Tilde will be used instead. The patch would temporary break ordering of DEB packages because '~' precedes '-' Change-Id: I14a0e1b3cf406ed9d69d0b7d09fe5c729c6a7b99 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/rpm/release2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpm/release b/packaging/rpm/release
index adf3d8871..d42ffb7a3 100755
--- a/packaging/rpm/release
+++ b/packaging/rpm/release
@@ -7,4 +7,4 @@
# Increasing the build number by a certain margin.
# Necessary due to honeycomb - hc2vpp split. Build_number counter was reset
# rewriting older packages
-echo RC2-$(expr $BUILD_NUMBER + 2000) \ No newline at end of file
+echo RC2~$(expr $BUILD_NUMBER + 2000) \ No newline at end of file