-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from Haidra-Org/main
ci: remove auto-changelog
- Loading branch information
Showing
1 changed file
with
2 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,13 @@ jobs: | |
contents: write | ||
pull-requests: read | ||
|
||
|
||
steps: | ||
- name: "📣 Release on push" | ||
id: release | ||
uses: rymndhng/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PYPI_PAT }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
bump_version_scheme: patch | ||
use_github_release_notes: true | ||
|
@@ -53,23 +54,6 @@ jobs: | |
python -m pip install --upgrade pip | ||
python -m pip install build | ||
- name: "✏️ Install changelog dependencies" | ||
if: ${{ steps.release.outputs.version != '' }} | ||
uses: actions/setup-node@v3 | ||
|
||
- name: "✏️ Generate release changelog" | ||
if: ${{ steps.release.outputs.version != '' }} | ||
run: | | ||
npm -g install auto-changelog | ||
auto-changelog --template=.changelog --ignore-commit-pattern="update changelog|version bump|Merge pull" | ||
# Try to add the changelog back to the releases branch | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'CHANGELOG.md' | ||
message: 'ci: update changelog' | ||
committer_name: GitHub Actions | ||
committer_email: [email protected] | ||
# Build a pypi distribution using the env var version number | ||
- name: "🔧 Build a binary wheel and a source tarball" | ||
|