Skip to content

Commit

Permalink
Fixed version bumping.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rius committed Dec 15, 2024
1 parent 935bff6 commit 2517ca2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
target: x86_64-apple-darwin
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install cargo-bump
uses: taiki-e/install-action@v2
with:
tool: cargo-bump
- name: Update version
run: sed -i '0,/^version = .*/{s/version = .*/version = "${{ github.ref_name }}"/}' Cargo.toml
run: cargo-bump "${{ github.ref_name }}"
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
Expand Down Expand Up @@ -60,8 +64,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install cargo-bump
uses: taiki-e/install-action@v2
with:
tool: cargo-bump
- name: Update version
run: sed -i '0,/^version = .*/{s/version = .*/version = "${{ github.ref_name }}"/}' Cargo.toml
run: cargo-bump "${{ github.ref_name }}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit 2517ca2

Please sign in to comment.