Skip to content

Commit

Permalink
Update workflow to use bash and enhance move_built.sh with git fetch …
Browse files Browse the repository at this point in the history
…and versioning
  • Loading branch information
nullchinchilla committed Aug 12, 2024
1 parent 973268b commit 2a989a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
run: |
cargo ndk -t arm64-v8a -p 21 build --release
- name: Move built files
run: sh move_built.sh
run: bash move_built.sh
- name: Sync to B2
run: b2 sync ./OUTPUT/ b2://geph-dl/geph4-binaries/

Expand Down
3 changes: 2 additions & 1 deletion move_built.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
#!/bin/bash
git fetch --tags
VERSION=$(git describe)
mkdir -p ./OUTPUT/$VERSION/
mv ./target/x86_64-unknown-linux-musl/release/geph4-client ./OUTPUT/$VERSION/geph4-client-linux-amd64
Expand Down

0 comments on commit 2a989a7

Please sign in to comment.