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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(release): publish correctly to github #2141

Merged
merged 16 commits into from May 13, 2024
Merged

fix(release): publish correctly to github #2141

merged 16 commits into from May 13, 2024

Conversation

bodinsamuel
Copy link
Contributor

@bodinsamuel bodinsamuel commented May 10, 2024

Describe your changes

  • Fix commit to GitHub
    Turns out we don't have access to the full repo by default, have to fetch and checkout the proper branch and setup an author. You can check the commit it created on this branch 4ab23d2

@bodinsamuel bodinsamuel changed the title debug publish fix(release): publish correctly to github May 10, 2024
@bodinsamuel bodinsamuel marked this pull request as ready for review May 10, 2024 17:20
Copy link
Collaborator

@TBonnin TBonnin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small comment about git fetch but looks good otherwise

@@ -14,10 +14,24 @@ if (tagExists.stdout !== '') {
}

const releaseMessage = `chore(release): ${nextVersion} [skip ci]`;

echo`Checkout out branch`;
await $`git fetch`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can probably speed things up by only fetching the branch we are interested in

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed!

@bodinsamuel bodinsamuel enabled auto-merge (squash) May 13, 2024 07:44
@bodinsamuel bodinsamuel merged commit ffcd1b3 into master May 13, 2024
18 checks passed
@bodinsamuel bodinsamuel deleted the fix/pkg-release branch May 13, 2024 07:49
bodinsamuel added a commit that referenced this pull request May 13, 2024
## Describe your changes

Follow up of #2141 

Release worked but not the publish of the changelog

- Fetch all commits by default 
- Improve grouping in changelog
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.

None yet

2 participants