Skip to content

Commit

Permalink
ci(releases): fix dev-version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeratoxx committed Mar 2, 2024
1 parent f9ec23c commit 6310c2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-22.04
outputs:
new-tag: ${{ steps.bump_version.outputs.next-version }}
new-tag: v${{ steps.bump_version.outputs.next-version }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
outputs:
dev-version: ${{ env.DEV_VERSION }}
steps:
- uses: actions/checkout@v4
- name: Delete Release and Tag
run: gh release delete ${{ env.DEV_VERSION }} --cleanup-tag
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: dev-drprasad/delete-tag-and-release@v1.0 # PRERELEASE is v1.0 and can also be used to test and give us feedback
with:
tag_name: ${{ env.DEV_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_release: true

create-dev-release-based-on-current-default-branch:
needs: cleanup-of-dev-release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
commit_sha: ${{ inputs.commit }}
custom_tag: ${{ inputs.version }}
create_annotated_tag: true
tag_prefix: ''

bundle:
name: Bundle version ${{ inputs.version }}
Expand Down

0 comments on commit 6310c2b

Please sign in to comment.