Skip to content

Commit

Permalink
Merge pull request #6352 from blockchain/release-changelog
Browse files Browse the repository at this point in the history
chore(changelog): update how changelogs are generated
  • Loading branch information
mperdomo-bc authored Mar 28, 2024
2 parents 0237cf4 + dd708d6 commit 4f52412
Show file tree
Hide file tree
Showing 4 changed files with 2,027 additions and 800 deletions.
16 changes: 10 additions & 6 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@
"rm -rf packages/blockchain-wallet-v4-frontend/build",
"rm -rf packages/blockchain-wallet-v4-frontend/extracted-ts",
"yarn manage:translations"
],
"before:release": "echo 🚨 REMINDER: Update default branch in Github to be this release branch now! 🚨",
"after:release": "echo ✅ SUCCESS! 🚨 REMINDER: After CI build has completed the 'pull repository/code step', reset default branch in Github back to development!"
]
},
"git": {
"requireCleanWorkingDir": false,
"requireUpstream": false,
"changelog": "changelog -t $(git describe --abbrev=0 --tags) -f -",
"commitMessage": "chore(Release): v${version}",
"commitMessage": "chore(release): v${version}",
"tagName": "v${version}",
"tagAnnotation": "Release v${version}"
},

"github": {
"release": true,
"preRelease": true,
Expand All @@ -25,5 +21,13 @@
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
},
"infile": false
}
}
}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ https://github.com/release-it/release-it#github-releases
`GITHUB_TOKEN` should be saved as `RELEASE_IT_TOKEN` instead in your bash_profile or wherever you keep env variables

You'll need git changelog to generate the history since the last release:
`npm install -g changelog`

#### Release Steps

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
"@react-theming/storybook-addon": "1.1.1",
"@reduxjs/toolkit": "1.6.0",
"@release-it/conventional-changelog": "^7.0.0",
"@storybook/addon-actions": "6.3.6",
"@storybook/addon-essentials": "6.3.6",
"@storybook/addon-info": "5.3.21",
Expand Down Expand Up @@ -152,7 +153,6 @@
"coveralls": "3.1.1",
"cross-env": "7.0.3",
"css-loader": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.2",
"eslint": "7.31.0",
Expand All @@ -177,7 +177,6 @@
"favicons-webpack-plugin": "5.0.2",
"fork-ts-checker-webpack-plugin": "6.4.0",
"futoin-hkdf": "1.4.2",
"generate-changelog": "1.8.0",
"hoist-non-react-statics": "3.3.2",
"html-replace-webpack-plugin": "2.6.0",
"html-webpack-plugin": "5.5.0",
Expand All @@ -198,7 +197,7 @@
"react-refresh-typescript": "2.0.3",
"redux-mock-store": "1.5.4",
"redux-saga-test-plan": "4.0.6",
"release-it": "13.7.2",
"release-it": "^16.0.0",
"rimraf": "3.0.2",
"staged-git-files": "1.2.0",
"storybook-dark-mode": "1.0.8",
Expand Down
Loading

0 comments on commit 4f52412

Please sign in to comment.