Skip to content

Commit

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

- name: Get Version from Git tag
id: get_version
run: echo "::set-output name=version::$(echo $GITHUB_REF | sed 's/^refs\/tags\/release-//')"

- name: Add rustup Apple ARM64 target
if: ${{ matrix.os == 'macos-latest' }}
run: rustup target add ${{ matrix.target2 }}
Expand All @@ -50,10 +54,6 @@ jobs:
if: ${{ matrix.os == 'macos-latest' }}
run: cargo build --release --target ${{ matrix.target2 }} --locked

- name: Get latest release version number
id: get_version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/release-}

- name: Create zip file on Windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
Expand Down

0 comments on commit c6630b6

Please sign in to comment.