Skip to content

*: cherrypick for v1.0.0-rc5 (#3134) #98

*: cherrypick for v1.0.0-rc5 (#3134)

*: cherrypick for v1.0.0-rc5 (#3134) #98

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Publish Release
jobs:
release:
runs-on: ubuntu-latest
name: Publish Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Disable shallow checkout
- uses: actions/setup-go@v4
with:
go-version: '1.22.4'
- run: go run . --help > cli-reference.txt
- run: go run testutil/genchangelog/main.go
- uses: softprops/action-gh-release@v1
with:
draft: true
files: cli-reference.txt
body_path: changelog.md
token: ${{ secrets.RELEASE_SECRET }}