summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/release
blob: 2c33de070c66b938146083e52b805f9bf2759a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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
# echo RC3~$BUILD_NUMBER
# echo RC3
#
# Release snapshot (1.19.04.1-SNAPSHOT~XXX, 1.19.04.1-SNAPSHOT.1~XXX, ...)
echo RELEASE~$BUILD_NUMBER
#
# Release version (1.19.04.1-SNAPSHOT, 1.19.04.1-SNAPSHOT.1, ...)
# echo RELEASE