mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 17:38:32 +02:00
fix tag step running all the time per CR
This commit is contained in:
parent
c6754d50f7
commit
389dd8ff29
1 changed files with 5 additions and 0 deletions
5
.github/workflows/changelog.yaml
vendored
5
.github/workflows/changelog.yaml
vendored
|
@ -151,6 +151,11 @@ jobs:
|
||||||
git add "$FILENAME"
|
git add "$FILENAME"
|
||||||
git commit -m "Update changelog [ci skip]"
|
git commit -m "Update changelog [ci skip]"
|
||||||
git push origin "$BRANCH"
|
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
|
# update the tag to include the changelog
|
||||||
git tag -fam "${GITHUB_REF##*/}" "${GITHUB_REF##*/}"
|
git tag -fam "${GITHUB_REF##*/}" "${GITHUB_REF##*/}"
|
||||||
git push --tags --force
|
git push --tags --force
|
||||||
|
|
Loading…
Add table
Reference in a new issue