Skip to content

Commit d050329

Browse files
authored
Create new tag workflow (#1645)
1 parent 7d9f9a6 commit d050329

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/cut-new-tag.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Cut a new tag
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag_name:
7+
type: string
8+
description: The full name of the new tag to push to the latest commit to main
9+
10+
jobs:
11+
push_tag:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: git tag ${{ github.event.inputs.tag_name }}
17+
- run: git push origin ${{ github.event.inputs.tag_name }}

0 commit comments

Comments
 (0)