Skip to content

v1.5.10

v1.5.10 #9

Workflow file for this run

name: Release
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
# move the tracking tags to the release tag
- run: |
VERSION=${GITHUB_REF#refs/tags/v}
MAJOR=$(.github/semver get major $VERSION)
MINOR=$(.github/semver get minor $VERSION)
git tag -f "v$MAJOR"
git tag -f "v$MAJOR.$MINOR"
git push --force origin "refs/tags/v$MAJOR" "refs/tags/v$MAJOR.$MINOR"