Skip to content

Commit

Permalink
release-0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Jan 7, 2024
1 parent c6630b6 commit ebc5e40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ jobs:
- name: Add rustup default target
run: rustup target add ${{ matrix.target }}

- name: Get Version from Git tag
- name: Get Version from Cargo.toml
id: get_version
run: echo "::set-output name=version::$(echo $GITHUB_REF | sed 's/^refs\/tags\/release-//')"
run: |
echo "::set-output name=version::$(jq -r '.package.version' Cargo.toml)"
- name: Add rustup Apple ARM64 target
if: ${{ matrix.os == 'macos-latest' }}
Expand Down

0 comments on commit ebc5e40

Please sign in to comment.