Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hinto-janai committed Aug 26, 2023
1 parent 5e3f01f commit db90d31
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 387 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
os: [windows-2019, macos-11, ubuntu-20.04]
os: [windows-2022, macos-11, ubuntu-20.04]

steps:
- name: Checkout
Expand Down Expand Up @@ -59,24 +59,27 @@ jobs:
fi
cargo build --release
- name: Compress (GUI)
- name: Compress
shell: bash
run: |
mkdir OUTPUT
VERSION=$(grep -m1 "version" Cargo.toml | grep -o "[0-9].[0-9].[0-9]")
if [ "$RUNNER_OS" == "Linux" ]; then
# Tar
tar -czpf "monero-vanity-v${VERSION}-linux-x64.tar.gz" target/release/monero-vanity
mv "monero-vanity-v${VERSION}-linux-x64.tar.gz" OUTPUT/
cd target/release/
tar -czpf "monero-vanity-v${VERSION}-linux-x64.tar.gz" monero-vanity
mv "monero-vanity-v${VERSION}-linux-x64.tar.gz" ../../OUTPUT/
elif [ "$RUNNER_OS" == "macOS" ]; then
# x64
tar -czpf "monero-vanity-v${VERSION}-macos-x64.tar.gz" target/release/monero-vanity
mv "monero-vanity-v${VERSION}-macos-x64.tar.gz" OUTPUT/
cd target/release/
tar -czpf "monero-vanity-v${VERSION}-macos-x64.tar.gz" monero-vanity
mv "monero-vanity-v${VERSION}-macos-x64.tar.gz" ../../OUTPUT/
# ARM64
tar -czpf "monero-vanity-v${VERSION}-macos-arm64.tar.gz" target/aarch64-apple-darwin/release/monero-vanity
mv "monero-vanity-v${VERSION}-macos-arm64.tar.gz" OUTPUT/
cd ../aarch64-apple-darwin/release/
tar -czpf "monero-vanity-v${VERSION}-macos-arm64.tar.gz" monero-vanity
mv "monero-vanity-v${VERSION}-macos-arm64.tar.gz" ../../../OUTPUT/
elif [ "$RUNNER_OS" == "Windows" ]; then
# Zip
cd target/release
Expand Down
File renamed without changes.
Loading

0 comments on commit db90d31

Please sign in to comment.