Skip to content

Commit

Permalink
Create a tag after each successful merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-christian-schulze committed Nov 26, 2024
1 parent 3d353f6 commit aeee8d0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pull-request.closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,14 @@ jobs:
with:
run: mvn clean install -Dmaven.repo.local=./.m2 -Declipse.p2.mirrors=false

- name: Create tag
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ steps.semver.outputs.patch }}',
sha: context.sha
})

0 comments on commit aeee8d0

Please sign in to comment.