diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 36855c2..86385b2 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -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: diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index f1cbd36..511e0fe 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -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 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ca86865..846f2f1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -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 }}