Skip to content

Commit

Permalink
update make-tar.sh to use the current VERSION from Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ezicheq committed Feb 15, 2023
1 parent 3ce38ed commit 653d3ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packaging/tar/make-tar.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

VERSION=$(grep '^version' ../../Cargo.toml | awk -F\" '{print $2}')
echo $VERSION;

cd ../../..
tar -cv --exclude=gossip/.git --exclude=gossip/target --exclude=gossip/packaging -f - gossip | bzip2 -c > gossip/packaging/tar/gossip-0.3.93-unstable.tar.bz2
tar -cv --exclude=gossip/.git --exclude=gossip/target --exclude=gossip/packaging -f - gossip | bzip2 -c > gossip/packaging/tar/gossip-${VERSION}.tar.bz2

0 comments on commit 653d3ba

Please sign in to comment.