-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Automatically move tag v1 and v2 respectively on commits
- Loading branch information
Tomas Norre Mikkelsen
committed
Jan 18, 2021
1 parent
a1c1907
commit d3fa1b8
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Move Tag v1" | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v1*" | ||
|
||
jobs: | ||
MoveTag: | ||
name: "Move Tag V1" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Move v1 Tag | ||
uses: richardsimko/update-tag@v1 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.TOMASNORRE_BOT_TOKEN }}" | ||
with: | ||
tag_name: v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Move Tag v2" | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v2*" | ||
|
||
jobs: | ||
MoveTag: | ||
name: "Move Tag v2" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Move v2 Tag | ||
uses: richardsimko/update-tag@v1 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.TOMASNORRE_BOT_TOKEN }}" | ||
with: | ||
tag_name: v2 |