Skip to content

Commit 899cc21

Browse files
committed
Add workflow to create a latest tag on release
1 parent f7a6567 commit 899cc21

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/tag-latest.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Latest Tag
2+
3+
on:
4+
release:
5+
types:
6+
- released
7+
push:
8+
tags:
9+
- "v?[0-9]+.[0-9]+"
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Run latest-tag
20+
uses: EndBug/[email protected]
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)