Skip to content

SQSCANGHA-42 Update scanner cli to v11.0 #8

SQSCANGHA-42 Update scanner cli to v11.0

SQSCANGHA-42 Update scanner cli to v11.0 #8

Workflow file for this run

name: Update Tags
on:
push:
tags:
- v*.*.*
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Parse semver
uses: madhead/semver-utils@v4
id: version
with:
version: ${{ github.ref_name }}
- name: Update tags
run: |
TAGS='v${{ steps.version.outputs.major }} v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}'
for t in $TAGS; do
git tag -f "$t"
git push origin ":$t" 2>/dev/null || true
git push origin "$t"
done