do the build script

This commit is contained in:
endernon 2025-01-17 22:36:22 +00:00
parent 638fc44b23
commit 03b87c64f6
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -645,7 +645,7 @@ dependencies = [
[[package]]
name = "idmangler-cli"
version = "0.4.3"
version = "0.5.0"
dependencies = [
"clap",
"idmangler-lib",

View file

@ -1,7 +1,7 @@
[package]
name = "idmangler-cli"
authors = ["endernon"]
version = "0.4.3"
version = "0.5.0"
edition = "2021"
readme = "README.md"
license = "MIT"

View file

@ -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-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')
echo "package version is:"
@ -16,5 +16,5 @@ echo "$balls2"
cd product
zip "idmangler-windows-x64-${balls2}.zip" example_configs idmangler-cli.exe
zip "idmangler-linux-x64-${balls2}.zip" example_configs idmangler-cli
zip "idmangler-windows-x64-${balls2}.zip" ./example_configs/ idmangler-cli.exe
zip "idmangler-linux-x64-${balls2}.zip" ./example_configs/ idmangler-cli