mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-01 02:41:42 +00:00
Create new tag workflow (#1645)
This commit is contained in:
17
.github/workflows/cut-new-tag.yml
vendored
Normal file
17
.github/workflows/cut-new-tag.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Cut a new tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag_name:
|
||||||
|
type: string
|
||||||
|
description: The full name of the new tag to push to the latest commit to main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_tag:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: git tag ${{ github.event.inputs.tag_name }}
|
||||||
|
- run: git push origin ${{ github.event.inputs.tag_name }}
|
||||||
Reference in New Issue
Block a user