Skip to content

Commit

Permalink
makefile auto tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Feb 24, 2020
1 parent 7ba04be commit 99d559c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ deb: build_local
chmod +x /tmp/enigmachain/deb/bin/enigmad /tmp/enigmachain/deb/bin/enigmacli
mkdir -p /tmp/enigmachain/deb/DEBIAN
cp ./packaging_ubuntu/control /tmp/enigmachain/deb/DEBIAN/control
echo "Version: 0.0.1" >> /tmp/enigmachain/deb/DEBIAN/control
printf "Version: " >> /tmp/enigmachain/deb/DEBIAN/control
git tag | tail -1 | tr -d v >> /tmp/enigmachain/deb/DEBIAN/control
echo "" >> /tmp/enigmachain/deb/DEBIAN/control
cp ./packaging_ubuntu/postinst /tmp/enigmachain/deb/DEBIAN/postinst
chmod 755 /tmp/enigmachain/deb/DEBIAN/postinst
Expand Down

0 comments on commit 99d559c

Please sign in to comment.