Skip to content

Commit ce58b26

Browse files
authored
Merge pull request #59 from actions/sgoedecke-patch-1
Add GitHub Actions workflow for releasing new version
2 parents 8ae5306 + 77a7cbe commit ce58b26

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release new action version
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
env:
8+
TAG_NAME: ${{ github.event.release.tag_name }}
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
update_tag:
14+
name:
15+
Update the major tag to include the ${{ github.event.release.tag_name }}
16+
changes
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Update the ${{ env.TAG_NAME }} tag
20+
uses: actions/publish-action@v0.2.2
21+
with:
22+
source-tag: ${{ env.TAG_NAME }}

0 commit comments

Comments
 (0)