Skip to content

Commit a1b0ad7

Browse files
updates
1 parent 3f9f5a7 commit a1b0ad7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/create-tag.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Create Tag"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag_name:
7+
description: 'Enter the tag to be created'
8+
9+
jobs:
10+
create_tag:
11+
name: "Create new tag"
12+
permissions: write-all
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Set a new tag with current commit
22+
run: |
23+
git tag '${{ github.event.inputs.tag_name }}'
24+
git push origin --tags

0 commit comments

Comments
 (0)