Skip to content

feat!: Release version 1.0.0. (#124) #102

feat!: Release version 1.0.0. (#124)

feat!: Release version 1.0.0. (#124) #102

Workflow file for this run

name: Release
on:
push:
branches:
- 'main'
permissions:
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Use Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Run QA
run: make qa
- name: Get next version
id: get_next_version
uses: thenativeweb/[email protected]
- name: Create new version
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
run: |
git tag v${{steps.get_next_version.outputs.version}}
git push origin v${{steps.get_next_version.outputs.version}}