Skip to content

Commit

Permalink
ci: add retag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed May 25, 2024
1 parent 4102e71 commit 885ffde
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/retag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: re-tag

on:
workflow_dispatch:
inputs:
tag:
description: |
Tag to be updated or created
required: true
default: 'v2'

jobs:
retag:
name: Re-tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- run: |
git push origin :refs/tags/${{ inputs.tag }}
git tag -f ${{ inputs.tag }}
git push origin main --tags

0 comments on commit 885ffde

Please sign in to comment.