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

Automate releases in a nicer way #648

Open
maybeanerd opened this issue May 9, 2024 · 0 comments
Open

Automate releases in a nicer way #648

maybeanerd opened this issue May 9, 2024 · 0 comments
Labels
dependencies enhancement New feature or request

Comments

@maybeanerd
Copy link
Owner

maybeanerd commented May 9, 2024

Currently releasing is a manual GitHub release based process that has no direct connection to package.json versions or commit messages

It also forces frontend and backend to have the same version (which might be okay,might be weird)

My idea is:

I don't want every commit to release (as the project is too volatile for that right now)

Have a (manual) pipeline, that when triggered, calculates the new version for both frontend and backend based on conventional commits and bumps their package.json version
Then commit that change and create a GitHub release, triggering the existing release pipeline
https://github.com/release-it/release-it/blob/main/docs/ci.md#github-actions might work for this

A question I don't have answers for yet:
We have two package.jsons, do we want to maintain them seperately? If so, images should also be tagged and released seperately. Seems like a burden, also having both FE&BE on the same version is a nice way to easily see compatability between them, as it's a monorepo.
Can the tooling bump both versions to the same one? If so, that'd be nice

@maybeanerd maybeanerd added dependencies enhancement New feature or request labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant