Skip to content

Commit

Permalink
ci: format changelog on release
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshilov committed Jun 25, 2024
1 parent 4a7b78d commit b838244
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm build
- name: Release
run: pnpm exec semantic-release --ci --debug
env:
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.old_tests
.yarn
.yarnrc.yml
dist/
pnpm-lock.yaml
.parcel-cache/
node_modules/
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
## [1.1.1](https://github.com/haqq-network/app-store-scraper/compare/v1.1.0...v1.1.1) (2024-05-07)


### Bug Fixes

* build package before release ([928a74c](https://github.com/haqq-network/app-store-scraper/commit/928a74cfe228a0545bb78e340770c37df6bb2e3e))
- build package before release ([928a74c](https://github.com/haqq-network/app-store-scraper/commit/928a74cfe228a0545bb78e340770c37df6bb2e3e))

## [1.1.0](https://github.com/haqq-network/app-store-scraper/compare/v1.0.0...v1.1.0) (2024-05-01)


### Features

* new typescript version ([06eba35](https://github.com/haqq-network/app-store-scraper/commit/06eba35aab27af97eba0ef56a529242749bd8964))
- new typescript version ([06eba35](https://github.com/haqq-network/app-store-scraper/commit/06eba35aab27af97eba0ef56a529242749bd8964))

# 1.0.0 (2024-04-30)

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.0.6",
"@semantic-release/npm": "12.0.1",
Expand Down
21 changes: 21 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export default {
'@semantic-release/release-notes-generator',
{ preset: 'conventionalcommits' },
],
'@semantic-release/changelog',

['@semantic-release/exec', { prepareCmd: 'pnpm build && pnpm format' }],
['@semantic-release/changelog'],
['@semantic-release/npm'],
[
'@semantic-release/git',
Expand All @@ -17,6 +19,6 @@ export default {
'chore(release): ${nextRelease.version}\n\n${nextRelease.notes}\n\n[skip ci]',
},
],
'@semantic-release/github',
['@semantic-release/github'],
],
};

0 comments on commit b838244

Please sign in to comment.