Skip to content

ci: update makefile to include ldflags in release ci (#210) #49

ci: update makefile to include ldflags in release ci (#210)

ci: update makefile to include ldflags in release ci (#210) #49

Workflow file for this run

name: Release
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+*" # Push events to matching v*, i.e. v1.0, v20.15.10, v1.2.3-hotfix, etc.
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
- name: Create release
run: make release