Skip to content

Bump to 3.2.2

Bump to 3.2.2 #35

name: Update major version and latest tag
on:
push:
tags:
- 'v*'
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nowsprinting/check-version-format-action@v3
id: version
with:
prefix: v
- name: Update major version and latest tag
run: |
git push --force origin 'HEAD:refs/heads/${{ steps.version.outputs.major_prerelease }}'
git push --force origin 'HEAD:refs/heads/latest'
if: steps.version.outputs.is_valid == 'true'