Skip to content

Commit

Permalink
Merge pull request #57 from Haidra-Org/main
Browse files Browse the repository at this point in the history
ci: remove auto-changelog
  • Loading branch information
tazlin authored Oct 23, 2023
2 parents 7fa5451 + dee0113 commit 81faec5
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
contents: write
pull-requests: read


steps:
- name: "📣 Release on push"
id: release
uses: rymndhng/release-on-push-action@v0.28.0
env:
GITHUB_TOKEN: ${{ secrets.PYPI_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bump_version_scheme: patch
use_github_release_notes: true
Expand Down Expand Up @@ -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: actions@github.com
# Build a pypi distribution using the env var version number
- name: "🔧 Build a binary wheel and a source tarball"
Expand Down

0 comments on commit 81faec5

Please sign in to comment.