Skip to content

ci: set changelog for beta release #3

ci: set changelog for beta release

ci: set changelog for beta release #3

Workflow file for this run

name: beta release
on:
push:
branches: [ 'main' ]
jobs:
release:
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ '1.21' ]
name: Beta Release Changelog
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
# with:
# fetch-depth: 0
- name: changelog # or [email protected] if ensure the stable result
id: changelog
run: |
output=$(npx changelogen@latest) && formatted_output="changelog=${output}" && echo "${formatted_output}" > "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{secrets.MY_TOKEN}}
- name: Prerelease
uses: irongut/[email protected]
with:
token: ${{ secrets.MY_TOKEN }}
id: 170718825
prerelease: true
body: ${{ steps.changelog.outputs.changelog }}