Skip to content

Bump release to v0.10 (#153) #26

Bump release to v0.10 (#153)

Bump release to v0.10 (#153) #26

Workflow file for this run

name: Generate release-artifacts
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
generate:
name: Generate cross-platform builds
runs-on: ubuntu-latest
steps:
- uses: olegtarasov/[email protected]
id: tagName
with:
tagRegex: "v(.*)" # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
tagRegexGroup: 1 # Optional. Default is 1.
- name: Checkout the repository
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Generate distribution tarball
run: |
mkdir dist && make distribution-tarball
sudo mv *.tar.gz dist/
env:
VERSION: '${{ steps.tagName.outputs.tag }}'
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true