Skip to content

Commit

Permalink
cd: need to use the next version
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbruggeman committed May 24, 2024
1 parent 522d809 commit feb7eb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
if: steps.semrel-check.outputs.cached != 'true'
run: cargo build --release

- name: Update version
run: ./target/release/semrel update

- name: Get new version
id: set-new-version
run: echo "::set-output name=version::$(./target/release/semrel show current)"
run: echo "::set-output name=version::$(./target/release/semrel show next)"

- name: Update version
run: ./target/release/semrel update

- name: Commit changes
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ jobs:
tar czvf x86_64-apple-darwin.tgz -C x86_64-apple-darwin .
tar czvf aarch64-unknown-linux-musl.tgz -C aarch64-unknown-linux-musl .
tar czvf x86_64-unknown-linux-musl.tgz -C x86_64-unknown-linux-musl .
- name: Get current version with semrel
- name: Get new version with semrel
id: version
run: |
version=$(./x86_64-unknown-linux-musl/semrel show current)
version=$(./x86_64-unknown-linux-musl/semrel show next)
echo "::set-output name=version::$version"
- name: Generate Release notes with semrel
run: |
Expand Down

0 comments on commit feb7eb1

Please sign in to comment.