do the build script
This commit is contained in:
parent
638fc44b23
commit
03b87c64f6
3 changed files with 5 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -645,7 +645,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idmangler-cli"
|
name = "idmangler-cli"
|
||||||
version = "0.4.3"
|
version = "0.5.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"idmangler-lib",
|
"idmangler-lib",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "idmangler-cli"
|
name = "idmangler-cli"
|
||||||
authors = ["endernon"]
|
authors = ["endernon"]
|
||||||
version = "0.4.3"
|
version = "0.5.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -5,7 +5,7 @@ mkdir -p product
|
||||||
|
|
||||||
cp ./target/x86_64-pc-windows-gnu/release/idmangler-cli.exe ./product/idmangler-cli.exe
|
cp ./target/x86_64-pc-windows-gnu/release/idmangler-cli.exe ./product/idmangler-cli.exe
|
||||||
cp ./target/x86_64-unknown-linux-gnu/release/idmangler-cli ./product/idmangler-cli
|
cp ./target/x86_64-unknown-linux-gnu/release/idmangler-cli ./product/idmangler-cli
|
||||||
cp -u -p ./example_configs ./product/
|
cp -r ./example_configs ./product/
|
||||||
|
|
||||||
pkgversion=$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "idmangler-cli") | .version')
|
pkgversion=$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "idmangler-cli") | .version')
|
||||||
echo "package version is:"
|
echo "package version is:"
|
||||||
|
@ -16,5 +16,5 @@ echo "$balls2"
|
||||||
|
|
||||||
cd product
|
cd product
|
||||||
|
|
||||||
zip "idmangler-windows-x64-${balls2}.zip" example_configs idmangler-cli.exe
|
zip "idmangler-windows-x64-${balls2}.zip" ./example_configs/ idmangler-cli.exe
|
||||||
zip "idmangler-linux-x64-${balls2}.zip" example_configs idmangler-cli
|
zip "idmangler-linux-x64-${balls2}.zip" ./example_configs/ idmangler-cli
|
||||||
|
|
Loading…
Add table
Reference in a new issue