mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-11-16 11:47:03 +00:00
Correctly gen version
This commit is contained in:
@@ -25,6 +25,9 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
|
||||
|
||||
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi
|
||||
|
||||
# Write the version file
|
||||
echo "pub const VERSION:&str = \"$APP_VERSION\";" > cli/src/version.rs
|
||||
|
||||
# First, do the tests
|
||||
cd lib && cargo test --release
|
||||
retVal=$?
|
||||
|
||||
Reference in New Issue
Block a user