diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 3d3f3060..a7b4f926 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -151,6 +151,11 @@ jobs: git add "$FILENAME" git commit -m "Update changelog [ci skip]" git push origin "$BRANCH" + + - name: Update tag to include changelog + if: startsWith(env.GITHUB_REF, 'refs/tags/') + run: | + # This is a tag build (releases and prereleases) # update the tag to include the changelog git tag -fam "${GITHUB_REF##*/}" "${GITHUB_REF##*/}" git push --tags --force