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 7ba04be commit 99d559cCopy full SHA for 99d559c
Makefile
@@ -93,7 +93,8 @@ deb: build_local
93
chmod +x /tmp/enigmachain/deb/bin/enigmad /tmp/enigmachain/deb/bin/enigmacli
94
mkdir -p /tmp/enigmachain/deb/DEBIAN
95
cp ./packaging_ubuntu/control /tmp/enigmachain/deb/DEBIAN/control
96
- echo "Version: 0.0.1" >> /tmp/enigmachain/deb/DEBIAN/control
+ printf "Version: " >> /tmp/enigmachain/deb/DEBIAN/control
97
+ git tag | tail -1 | tr -d v >> /tmp/enigmachain/deb/DEBIAN/control
98
echo "" >> /tmp/enigmachain/deb/DEBIAN/control
99
cp ./packaging_ubuntu/postinst /tmp/enigmachain/deb/DEBIAN/postinst
100
chmod 755 /tmp/enigmachain/deb/DEBIAN/postinst
0 commit comments