Skip to content

Commit

Permalink
[TASK] Automatically move tag v1 and v2 respectively on commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Norre Mikkelsen committed Jan 18, 2021
1 parent a1c1907 commit d3fa1b8
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/MoveTagV1.yml
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
21 changes: 21 additions & 0 deletions .github/workflows/MoveTagV2.yml
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

0 comments on commit d3fa1b8

Please sign in to comment.