summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/release
blob: 6e2d2d21faa3ce9f44a1d5eab6d5da1cbe512a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#
# Snapshot version (do not use on stable branch)
#
# 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.19.01~XXX, 1.19.01.1~XXX, ...)
# echo RELEASE~$BUILD_NUMBER
#
# Release version (1.19.01, 1.19.01.1, ...)
# echo RELEASE