Skip to content

Conversation

@monsagri
Copy link
Contributor

@monsagri monsagri commented Jun 20, 2023

Intending to use release-now to release 1.0.0 for GA today, judging from their docs having that message above in the merge commit should do it?

@monsagri monsagri requested review from a team and kinyoklion June 20, 2023 12:27
@yusinto
Copy link
Contributor

yusinto commented Jun 20, 2023

@monsagri Have you followed the initial package publish steps here?

You can also use the cloudflare initial release PR for reference.

@yusinto yusinto self-requested a review June 20, 2023 16:50
@monsagri
Copy link
Contributor Author

@monsagri Have you followed the initial package publish steps here?

You can also use the cloudflare initial release PR for reference.

Thanks for the pointers, I've updated to follow that process!
I wondered if we could avoid the hardcoded release-as with the commit message as referenced in the docs.

@monsagri monsagri removed the request for review from louis-launchdarkly June 20, 2023 17:09
@yusinto
Copy link
Contributor

yusinto commented Jun 20, 2023

if we could avoid the hardcoded release-as with the commit message as referenced in the docs

It's possible. We can try.

@kinyoklion
Copy link
Member

The problem with "release-as" in a commit message is that if affects all packages that have changes next time they release. It is really not for a monorepo.

@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/vercel-server-sdk",
"version": "0.4.3",
Copy link
Member

Choose a reason for hiding this comment

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

I would be very careful manually updating these. It should be ok as long as there are release notes. Release please has problems if it doesn't make any changes in a project when it releases it. Because then it cannot find the release PR associated with the project.

So, generally you always have a change because it updates the version and changes there changelog. So make sure at least one of those will still be true.

"src/createPlatformInfo.ts"
],
"bump-minor-pre-major": true
"bump-minor-pre-major": true,
Copy link
Member

Choose a reason for hiding this comment

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

1.0.0 will be "major" so you can remove "bump-minor-pre-major" it just served to stop it going 1.0.0 automatically. (If you removed it, and had feat changes, then it would update to 1.0.0 on its own).

@monsagri
Copy link
Contributor Author

The problem with "release-as" in a commit message is that if affects all packages that have changes next time they release. It is really not for a monorepo.

Thanks, I totally missed that!

@monsagri monsagri force-pushed the release-vercel-1.0.0 branch from c9a0f76 to 5506cde Compare June 27, 2023 13:35
@monsagri monsagri requested a review from kinyoklion June 27, 2023 13:40
@kinyoklion
Copy link
Member

Do you have a beta notice you can remove?

This PR isn't going to make a release. There aren't any releasable units for the SDK.

@kinyoklion
Copy link
Member

Explanation of releasable units: https://launchdarkly.atlassian.net/wiki/spaces/PD/pages/2425487795/Conventional+Commits+with+Release-Please

I would at least change the commit message of this PR, when you merge it, to "feat: Vercel 1.0.0" or something like that.

@kinyoklion kinyoklion changed the title chore: release 1.0.0 feat: Vercel 1.0.0 Jun 27, 2023
Copy link
Member

@kinyoklion kinyoklion left a comment

Choose a reason for hiding this comment

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

I am approving. I changed the PR title to something releasable. This contains changes in your example repo, so it will release them.

Note, I think I mentioned this before, but examples are not going to get automatic version bumps, which may be inconvenient later. It is fine for this release though.

@monsagri
Copy link
Contributor Author

@monsagri monsagri merged commit 78daeaf into main Jun 28, 2023
@monsagri monsagri deleted the release-vercel-1.0.0 branch June 28, 2023 13:39
@github-actions github-actions bot mentioned this pull request Jun 28, 2023
monsagri pushed a commit that referenced this pull request Jun 30, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>vercel-server-sdk: 1.0.0</summary>

##
[1.0.0](vercel-server-sdk-v0.4.4...vercel-server-sdk-v1.0.0)
(2023-06-28)


### Features

* Vercel 1.0.0
([#177](#177))
([78daeaf](78daeaf))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants