mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-30 00:41:42 +00:00
update make-tar.sh to use the current VERSION from Cargo.toml
This commit is contained in:
parent
3ce38ed9ba
commit
653d3ba9d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user