Skip to content

Merge pull request #36 from kndpio/35-set-version-information-for-on-… #4

Merge pull request #36 from kndpio/35-set-version-information-for-on-…

Merge pull request #36 from kndpio/35-set-version-information-for-on-… #4

Workflow file for this run

name: Release preaparation
on:
push:
tags:
- '*'
permissions:
contents: write
packages: write
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
tag: ${{ vars.GITHUB_REF_NAME }}
skipIfReleaseExists: true
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
project_path: "./cmd/kndp"
binary_name: "kndp"
ldflags: -X 'main.Version=${{ vars.GITHUB_REF_NAME }}'