Skip to content

Commit

Permalink
Fix version check (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Tao Lu <[email protected]>
  • Loading branch information
yeetfield and Tao Lu authored Jan 25, 2023
1 parent d684147 commit 40c9d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build
run: cargo build --release --verbose --target=${{ matrix.target }} --manifest-path rozy/Cargo.toml
- name: Ensure version is correct
run: rozy/target/${{ matrix.target }}/release/ozy --version | grep "$(echo $GITHUB_REF | cut -d / -f 3)"
run: rozy/target/${{ matrix.target }}/release/ozy --version | grep "$(echo $GITHUB_REF_NAME | cut -c2-)"
- name: Rename
run: mv rozy/target/${{ matrix.target }}/release/ozy rozy/target/${{ matrix.target }}/release/${{ matrix.asset }}
- name: Upload binaries to release
Expand Down

0 comments on commit 40c9d6f

Please sign in to comment.