Skip to content

Commit

Permalink
ci: fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Dec 10, 2023
1 parent d43f84e commit fd93262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: deb-armhf
path: target/arm-unknown-linux-gnueabihf/debian/bloop-box_3.2.0_armhf.deb
path: target/arm-unknown-linux-gnueabihf/debian/bloop-box_*_armhf.deb

build-arm64:
needs: [test-for-release]
Expand All @@ -121,7 +121,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: deb-arm64
path: target/aarch64-unknown-linux-gnu/debian/bloop-box_3.2.0_arm64.deb
path: target/aarch64-unknown-linux-gnu/debian/bloop-box_*_arm64.deb

release:
needs: [build-armhf, build-arm64]
Expand All @@ -144,7 +144,7 @@ jobs:

- name: Update version
run: |
sed -i '/\[package\]/,/^version = "[^"]*"$/ s/^version = "[^"]*"$/version = "'"${{ steps.semantic.outputs.new_release_version }}"'"/' Cargo.toml
sed -i '/\[package\]/,/^version = "[^"]*"$/ s/^version = "[^"]*"$/version = "'"${{ needs.test-for-release.outputs.new_release_version }}"'"/' Cargo.toml
cargo update --package bloop-box --offline
- name: Semantic Release
Expand Down

0 comments on commit fd93262

Please sign in to comment.