Skip to content

Commit f64fa7e

Browse files
Merge pull request #141 from Grigory-Rylov/fix_release_tag_creation
fix: add tag creation before GitHub Release action
2 parents 91d0972 + 4308ed0 commit f64fa7e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build-plugin.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ jobs:
4141
run: |
4242
mv plugin/build/distributions/*.zip plugin/build/distributions/yamp_plugin_${{ steps.get_version.outputs.version }}.zip
4343
44+
- name: Create tag
45+
run: |
46+
git config --global user.name 'github-actions'
47+
git config --global user.email 'github-actions@github.com'
48+
git tag v${{ steps.get_version.outputs.version }}
49+
git push origin v${{ steps.get_version.outputs.version }}
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
4453
- name: Create GitHub Release
4554
id: create_release
4655
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)