Skip to content

Merge pull request #46 from ponkio-o/fix-login-username #47

Merge pull request #46 from ponkio-o/fix-login-username

Merge pull request #46 from ponkio-o/fix-login-username #47

name: Update major version and latest tag
on:
push:
tags:
- 'v*'
jobs:
tag:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: nowsprinting/check-version-format-action@98485692a883d962227b09f40f29a63de0771299 # v4.0.2
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'