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 4f0d364 commit cb307deCopy full SHA for cb307de
distro/scripts/make-archive.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
# create archive from current source using git
3
4
-VERSION=$(git log --oneline -n1 --grep="^VERSION" | rev | cut -d' ' -f1 | rev)
+VERSION=$(grep set\(NP2SRV_VERSION CMakeLists.txt | cut -d ' ' -f 2 | tr -d ')')
5
6
NAMEVER=netopeer2-$VERSION
7
ARCHIVE=$NAMEVER.tar.gz
0 commit comments