Skip to content

Commit 71ea24d

Browse files
authored
Update release.yaml
1 parent 84ca72f commit 71ea24d

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,20 +133,15 @@ jobs:
133133
heading-title-regex: ^${{ needs.get_version.outputs.version }}
134134
omit-heading: true
135135
- name: Create release tag
136-
uses: actions/github-script@v7.0.1
136+
uses: mathieudutour/github-tag-action@v6.2
137137
with:
138-
script: |
139-
github.rest.git.createRef({
140-
owner: context.repo.owner,
141-
repo: context.repo.repo,
142-
ref: 'refs/tags/v${{ needs.get_version.outputs.version }}',
143-
sha: context.sha
144-
})
138+
custom_tag: v${{ needs.get_version.outputs.version }}
139+
github_token: ${{ secrets.GITHUB_TOKEN }}
145140
- name: Publish to GitHub releases
146141
uses: softprops/action-gh-release@v2
147142
with:
148143
make_latest: true
149144
name: v${{ needs.get_version.outputs.version }}
150145
body: ${{ steps.extract_changelog.outputs.output-text }}
151146
tag_name: v${{ needs.get_version.outputs.version }}
152-
files: release/*
147+
files: release/*

0 commit comments

Comments
 (0)