Skip to content

Commit

Permalink
ci: set changelog for beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Aug 17, 2024
1 parent e1906c9 commit cb927b4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/beta_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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: |
git tag -l
npx changelogen@latest --output CHANGELOG.md
# env:
# GITHUB_TOKEN: ${{secrets.MY_TOKEN}}

- name: Prerelease
uses: tubone24/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
TAG_NAME: beta
with:
prerelease: true
body_path: CHANGELOG.md

0 comments on commit cb927b4

Please sign in to comment.