summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/release
blob: 7b5437a312e5dfeb4817a1f0c890adadd67022ed (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.18.07~XXX, 1.18.07.1~XXX, ...)
# echo RELEASE~$BUILD_NUMBER
#
# Release version (1.18.07, 1.18.07.1, ...)
echo RELEASE