File tree 1 file changed +3
-20
lines changed
1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -188,27 +188,10 @@ jobs:
188
188
# Release part
189
189
- name : Create tag
190
190
if : ${{ github.event_name != 'pull_request' && !startsWith(github.ref, 'refs/tags/') && needs.check-for-new-cascadia.outputs.tag_exists != 'true' }}
191
- uses : actions/github-script@v7
191
+ uses : EndBug/latest-tag@latest
192
192
with :
193
- github-token : ${{ github.token }}
194
- script : |
195
- const tagName = "${{ needs.check-for-new-cascadia.outputs.tag_name }}";
196
-
197
- const createdTag = await github.git.createTag({
198
- owner: context.repo.owner,
199
- repo: context.repo.repo,
200
- tag: tagName,
201
- message: `Bump Delugia version to ${tagName}`,
202
- object: context.sha,
203
- type: "commit"
204
- })
205
-
206
- github.git.createRef({
207
- owner: context.repo.owner,
208
- repo: context.repo.repo,
209
- ref: `refs/tags/${tagName}`,
210
- sha: createdTag.data.sha
211
- })
193
+ ref : ${{ needs.check-for-new-cascadia.outputs.tag_name }}
194
+ description : " Bump Delugia version to ${{ needs.check-for-new-cascadia.outputs.tag_name }}"
212
195
- name : Get tag name
213
196
id : get_tag_name
214
197
if : ${{ startsWith(github.ref, 'refs/tags/') }}
You can’t perform that action at this time.
0 commit comments