mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-20 03:57:03 +00:00
build_macos.sh to pull actual version
This commit is contained in:
parent
6ac06b6dab
commit
d508b86719
@ -10,7 +10,12 @@ export LDFLAGS="-L${HOMEBREW_PREFIX}/lib -Wl,-rpath,${HOMEBREW_PREFIX}/lib${LDFL
|
||||
|
||||
cargo build --release --features=lang-cjk
|
||||
|
||||
VERSION=0.6.0
|
||||
VERSION=$(cat ../../Cargo.toml | grep ^version | awk -F= '{print $2}' | awk -F\" '{print $2}')
|
||||
echo $VERSION | grep -s unstable
|
||||
if [ $? -eq 0 ] ; then
|
||||
GITHASH=$(git rev-parse --short HEAD)
|
||||
VERSION=${VERSION}-$GITHASH
|
||||
fi
|
||||
NAME=gossip
|
||||
BIN_NAME=gossip-bin
|
||||
APP_NAME=Gossip
|
||||
|
Loading…
Reference in New Issue
Block a user