summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/release
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-10-31 14:26:19 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-11-07 10:42:24 +0100
commit454d67b5c826f0306d24942a236a594b1fbe71c1 (patch)
treec60cbb29540ba4f8ffc03ad68d95a5f002d6cfad /packaging/rpm/release
parent472f13d6bf3f681d4ba575baa0bc03583d1d6f20 (diff)
Update release script with proper snapshot versions
Includes examples of snapshot versions for honeycomb packages that preserve package ordering. Based on https://gerrit.fd.io/r/#/c/9143/ Change-Id: I117036f89ec92b5c1bc81cce72d9b1383df6543b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'packaging/rpm/release')
-rwxr-xr-xpackaging/rpm/release26
1 files changed, 19 insertions, 7 deletions
diff --git a/packaging/rpm/release b/packaging/rpm/release
index 4de82e41c..c8ed5e4f3 100755
--- a/packaging/rpm/release
+++ b/packaging/rpm/release
@@ -1,10 +1,22 @@
#!/bin/bash
-# release version
-# echo RELEASE
#
-# snapshot version
+# Snapshot version (do not use on stable branch)
#
-# Increasing the build number by a certain margin.
-# Necessary due to honeycomb - hc2vpp split. Build_number counter was reset
-# rewriting older packages
-echo $(expr $BUILD_NUMBER + 2000) \ No newline at end of file
+# Increasing the build number for fd.io.master repositories
+# by a certain margin. Necessary due to honeycomb - hc2vpp split.
+# Build_number counter was reset rewriting older packages
+#
+echo $(expr $BUILD_NUMBER + 2000)
+#
+# Stable versions
+#
+# echo RC1~$BUILD_NUMBER
+# echo RC1
+# echo RC2~$BUILD_NUMBER
+# echo RC2
+#
+# Release snapshot (1.18.01~XXX, 1.18.01.1~XXX, ...)
+# echo RELEASE~$BUILD_NUMBER
+#
+# Release version (1.18.01, 1.18.01.1, ...)
+# echo RELEASE \ No newline at end of file