fix release version in Makefile #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: goreleaser | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
check-latest: true | |
- name: release dry run | |
run: make release-dry-run | |
- name: setup release environment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: |- | |
echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' > .release-env | |
- name: release publish | |
run: make release |