Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse issues from commit log instead of changelog #1071

Merged
merged 2 commits into from Jan 23, 2024

Conversation

northword
Copy link
Contributor

@northword northword commented Dec 22, 2023

fix: #1070

northword@Yoga-Northword MINGW64 /d/Code/Zotero/zotero-format-metadata (main)
$ pnpm release --github.release --dry-run --VV --no-git.requireCleanWorkingDir

> zotero-format-metadata@1.6.17 release D:\Code\Zotero\zotero-format-metadata
> release-it "--github.release" "--dry-run" "--VV" "--no-git.requireCleanWorkingDir"

$ git rev-parse --abbrev-ref HEAD
$ git config --get branch.main.remote
$ git remote get-url origin
! git fetch
$ git rev-parse --abbrev-ref HEAD  [cached]
$ git describe --tags --match=v* --abbrev=0
$ git symbolic-ref HEAD
$ git for-each-ref --format="%(upstream:short)" refs/heads/main
$ git rev-parse --abbrev-ref HEAD  [cached]
$ git config --get branch.main.remote  [cached]
$ git remote get-url origin  [cached]
! git fetch
$ git rev-parse --abbrev-ref HEAD  [cached]
$ git describe --tags --match=v* --abbrev=0  [cached]

馃殌 Let's release zotero-format-metadata (currently at 1.6.17)


Changelog:
绠¢亾娴嬭瘯銆俒#103](https://github.com/northword/zotero-format-metadata/issues/103)

? Select increment (next version): patch (1.6.18)
! npm version 1.6.18 --no-git-tag-version
! npm run build
$ git status --short --untracked-files=no

Empty changeset

! git add . --update
? Commit (chore(publish): release v1.6.18)? Yes
! git commit --message chore(publish): release v1.6.18
? Tag (v1.6.18)? Yes
! git tag --annotate --message Release 1.6.18 v1.6.18
? Push? Yes
$ git symbolic-ref HEAD  [cached]
$ git for-each-ref --format="%(upstream:short)" refs/heads/main  [cached]
! git push --follow-tags
? Create a release on GitHub (Release 1.6.18)? Yes
! octokit repos.createRelease "Release 1.6.18" (v1.6.18)
! octokit repos.uploadReleaseAssets build/*.xpi update.json
$ git log --pretty=format:"* %s (%h)" v1.6.17...HEAD
! octokit issues.createComment (https://github.com/northword/zotero-format-metadata/issues/103)   # Changes Here!
! echo Successfully released zotero-format-metadata v1.6.18 to northword/zotero-format-metadata.
馃敆 https://github.com/northword/zotero-format-metadata/releases/tag/v1.6.18
馃弫 Done (in 5s.)

@northword northword changed the title Resolve issues from commit log instead of changelog Parse issues from commit log instead of changelog Dec 22, 2023
@webpro
Copy link
Collaborator

webpro commented Jan 18, 2024

Thanks @northword! This is great, I'll try to test this as soon as I'll actually release something that uses this. Happy to merge when it works properly.

@webpro webpro merged commit f0f1927 into release-it:main Jan 23, 2024
8 checks passed
webpro pushed a commit that referenced this pull request Jan 23, 2024
* Resolve issues from commit log instead of changelog

fix: #1070

* Output exec logs for submitting GitHub comments in dry run mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve issue from commit history instead of changelog
2 participants