Skip to content

Commit

Permalink
Luke/Fix changelog (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeHackett12 authored Feb 27, 2024
1 parent c16e588 commit f996918
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 403 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
id: package-version
uses: martinbeentjes/npm-get-version-action@main

- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1

- name: Create pull request
uses: peter-evans/create-pull-request@v4
id: cpr
Expand All @@ -60,8 +56,7 @@ jobs:
commit-message: 'chore(release): v${{ steps.package-version.outputs.current-version}}'
title: '[Release] v${{ steps.package-version.outputs.current-version}}'
body: |
## Release notes:
${{ steps.extract-release-notes.outputs.release_notes }}
Release notes for this release found in [CHANGELOG.md](https://github.com/ObolNetwork/obol-sdk/blob/release/CHANGELOG.md)
labels: |
release
automated pr
Expand Down
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@types/elliptic": "^6.4.18",
"@types/jest": "^28.1.8",
"@types/node": "^20.2.5",
Expand All @@ -81,6 +80,7 @@
],
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs",
"commitMessage": "chore(release): v${version}",
"push": true,
"commit": true,
Expand All @@ -96,12 +96,8 @@
"publish": false,
"ignoreVersion": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "eslint",
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
"hooks": {
"after:bump": "npx auto-changelog -p --hide-credit"
}
},
"jest": {
Expand Down
Loading

0 comments on commit f996918

Please sign in to comment.