Skip to content

Commit

Permalink
✨ moving minor tags for workflows (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
burgholzer authored Aug 9, 2024
1 parent 7047b80 commit af4d675
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-major-minor-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update the vX.Y tag

on:
release:
types: [released]
workflow_dispatch:
inputs:
TAG_NAME:
description: "Tag name that the major.minor tag will point to"
required: true

env:
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}

jobs:
update_tag:
name: Update the major.minor tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-minor-tag
uses: joerick/[email protected]
with:
source-tag: ${{ env.TAG_NAME }}

0 comments on commit af4d675

Please sign in to comment.