Skip to content

Commit 00cd69f

Browse files
committed
chore: go back to using git-release for handling GH releases
So we can source changelog into the release metadata.
1 parent a76684f commit 00cd69f

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
run: ls -lh builds/
4343

4444
- name: Create Release
45+
uses: docker://antonyurchenko/git-release:v5
4546
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
run: |
48-
if [ "$PRE_RELEASE" = "true" ]; then
49-
gh release create "$PACKAGE_VERSION" builds/* --title "Release $PACKAGE_VERSION" --prerelease
50-
else
51-
gh release create "$PACKAGE_VERSION" builds/* --title "Release $PACKAGE_VERSION"
52-
fi
47+
GITHUB_TOKEN: ${{ secrets.PAT }}
48+
DRAFT_RELEASE: false
49+
PRE_RELEASE: ${{ env.PRE_RELEASE }}
50+
CHANGELOG_FILE: CHANGELOG.md
51+
with:
52+
args: builds/*

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Common a Changelog](https://common-changelog.org),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
83
## [1.0.0-beta.1] - 2025-07-08
94

105
_First pre-release._

0 commit comments

Comments
 (0)