Compare commits

..

No commits in common. "deb0124fe61b1260c65fd5c6108cfcdd19e2e74a" and "1b0ae5a17a9700ff9cfba0512e7545d7d1b2c2ac" have entirely different histories.

2 changed files with 1 additions and 21 deletions

3
.gitignore vendored
View file

@ -1,3 +1,2 @@
/target
inventory-fix.png
/product
inventory-fix.png

View file

@ -1,19 +0,0 @@
cargo build --target x86_64-unknown-linux-musl --package rpfixer --bin rpfixer --release
cargo build --target x86_64-pc-windows-gnu --package rpfixer --bin rpfixer --release
mkdir -p product
cp ./target/x86_64-pc-windows-gnu/release/rpfixer.exe ./product/rpfixer-windows-x64.exe
cp ./target/x86_64-unknown-linux-musl/release/rpfixer ./product/rpfixer-linux-x64
pkgversion=$(cargo metadata --format-version=1 --no-deps | jq '.packages[] | select(.name == "rpfixer") | .version')
echo "package version is:"
echo $pkgversion
balls=${pkgversion::-1}
balls2=${balls:1}
echo $balls2
cd product
zip "rpfixer-windows-x64-${balls2}.zip" rpfixer-windows-x64.exe
zip "rpfixer-linux-x64-${balls2}.zip" rpfixer-linux-x64