We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f74218 commit 9402095Copy full SHA for 9402095
docs/VERSION.md
@@ -1 +1 @@
1
-3.0.0
+0.4.0
infra/scripts/version_check.sh
@@ -2,12 +2,20 @@
2
#
3
# Check current version based on active develop branch name
4
5
-CURRENTVERSION="3.0.0"
+CURRENTVERSION=$(git tag | sort -r | tr '\n' ' ' | cut -d" " -f1)
6
+CURRENTVERSION=${CURRENTVERSION##*v}
7
+
8
+echo "CURRENT VERSION: ${CURRENTVERSION}"
9
10
+if [ -z "$CURRENTVERSION" ]
11
+then
12
+ exit 1
13
+fi
14
15
VERSIONDOC=$(cat docs/VERSION.md)
16
17
if [ "$VERSIONDOC" == "$CURRENTVERSION" ]; then
- echo "Version checked: $VERSIONDOC"
18
+ echo "Version checked (VERSION.md file): $VERSIONDOC"
19
exit 0
20
else
21
echo "Package version in VERSION.md file does not seem correct!"
0 commit comments