Closed github-actions[bot] closed 3 months ago
@rndquu I added an empty commit that bumped the version to 1.4.0
here so going forward it should not downgrade the version anymore. I will also fix Knip and Jest tests since I notice they are not fixed like we did in other repos. Hopefully #28 should be fixed afterwards!
@gentlementlegen So we should:
main
main
into development
Correct?
@rndquu No need to merge main
into development
, just merging into main
.
@rndquu No need to merge
main
intodevelopment
, just merging intomain
.
But this way the main
branch will have v1.4.0 while the development
branch will still be v1.3.1
@rndquu We can merge it back, it is not really important as the version is based on the conventional commit comments and not on the tags of the branch / repo nor the package version. But to keep it in sync we can do so.
@rndquu We can merge it back, it is not really important as the version is based on the conventional commit comments and not on the tags of the branch / repo nor the package version. But to keep it in sync we can do so.
It's important for a developer to keep versions in sync. When you git clone https://github.com/ubiquibot/permit-generation
you get v1.3.1 from the development
branch while the published one would be v1.4.0 so it's literally the 1st question "How to get the latest version?".
What is the expected flow of using release-please
workflow, this one?
This PR introduces a different flow:
development
release-please
bumps the version and creates a PR with updated version to the main
branchmain
into development
to keep versions in syncI'm trying to find out what approach we should use for all of the ubiquity repositories.
The version should never be manually changed that's why I believed it wouldn't matter (rest of the code is in sync). The difference in version happens because we use development
as the default and main
as the production.
Current flow within this PR is:
main
main
main
branchThe version should never be manually changed that's why I believed it wouldn't matter (rest of the code is in sync). The difference in version happens because we use
development
as the default andmain
as the production.Current flow within this PR is:
- a push is made to
main
- release please bumps the version, creates a changelog, which targets
main
- PR is merged, triggers publishing of the package from the
main
branch
How does the development
branch sync the package.json
version from the main
branch?
Well ideally our main branch should be the release branch. But as you said, let's merge back main into develop in the meantime!
Well ideally our main branch should be the release branch. But as you said, let's merge back main into develop in the meantime!
So the flow is:
development
branchdevelopment
into main
release-please
bumps the version and creates a PR with updated version to the main branchmain
into development
to keep package.json
version in syncCorrect. Also note that the deployment of the package happens after step 3 is completed.
:robot: Created releases:
:robot: I have created a release beep boop
1.4.0 (2024-07-08)
⚠ BREAKING CHANGES
Features
Bug Fixes
Miscellaneous Chores
This PR was generated with Release Please. See documentation.