Skip to content

Commit

Permalink
fix: stop using fork version of changelogithub
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Apr 15, 2024
1 parent 418702f commit 78f15b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ Run [release-it](https://github.com/release-it/release-it) with [pnpm](https://p
1. Bump all packages to the new version.
1. Run `pnpm -r publish --access public --no-git-checks` ([pnpm publish](https://pnpm.io/cli/publish)).
1. Appendix `--tag {tag}` if it's a pre-release.
1. Run `npx @hyoban/changelogithub` for GitHub release ([changelogithub](https://github.com/antfu/changelogithub)).
1. Run `npx changelogithub` for GitHub release ([changelogithub](https://github.com/antfu/changelogithub)).
1. You can disable it by setting `disableRelease` to `true` in `.release-it.json`.
1. It's actually running [my forked version](https://github.com/antfu/changelogithub/compare/main...hyoban-fork:changelogithub:fix/parse-prerelease) of changelogithub, using `semver` to parse the version, without requiring a `v` prefix.

## Install

Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const prompts = {
},
release: {
type: 'confirm',
message: () => 'Are you sure you want to create a new release on GitHub? (npx @hyoban/changelogithub)',
message: () => 'Are you sure you want to create a new release on GitHub? (npx changelogithub)',
},
}

Expand Down Expand Up @@ -140,8 +140,8 @@ class ReleaseItPnpmPlugin extends Plugin {

try {
await this.step({
task: () => this.exec('npx @hyoban/changelogithub'),
label: 'Creating release on GitHub (npx @hyoban/changelogithub)',
task: () => this.exec('npx changelogithub'),
label: 'Creating release on GitHub (npx changelogithub)',
prompt: 'release',
})
}
Expand Down

0 comments on commit 78f15b9

Please sign in to comment.