Skip to content

Release v1.2.0

Release v1.2.0 #6

Workflow file for this run

name: Publish GitHub Actions
on:
push:
tags:
- v?[0-9]+.[0-9]+.[0-9]+-?**
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Determine versions
id: versions
run: |
full_version="$(cat VERSION)"
major_version="$(echo "$full_version" | cut -f1 -d.)"
echo "full-version=$full_version" >> "$GITHUB_OUTPUT"
echo "major-version=$major_version" >> "$GITHUB_OUTPUT"
- name: Update versions
run: |
echo "Full version: $full_version"
echo "Major version: $major_version"
git tag -f "$major_version"
git push -f origin "$major_version"