Skip to content

Commit c1b83d3

Browse files
♻️ Use action instead of messy git commands
1 parent 1b0aee5 commit c1b83d3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,10 @@ jobs:
205205
- name: List assets
206206
run: ls rassets
207207

208-
- name: Tag
209-
run: |
210-
tag=v${{ needs.build.outputs.plugin_version }}
211-
message=':bookmark: Version ${{ needs.build.outputs.plugin_version }}'
212-
git config user.name "${GITHUB_ACTOR}"
213-
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
214-
git tag -a "${tag}" -m "${message}"
215-
git push origin "${tag}"
208+
- uses: thejeff77/[email protected]
209+
with:
210+
tag: v${{ needs.build.outputs.plugin_version }}
211+
message: ':bookmark: Version ${{ needs.build.outputs.plugin_version }}'
216212

217213
- name: Release
218214
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)