Skip to content

Conversation

@keulinho
Copy link
Contributor

@keulinho keulinho commented Dec 1, 2025

relying on dates to determine next version can be brittle and there might be cases where we do not use our regular schedule

instead i try to figure the next versions based on the release branches that already exist

I'm not sure if it is already working as expected, but i thought when we know our branching strategy we should be able to figure out in which state we are

one important thing that we should be able to figure out: when the final branch off for a release branch did happen we already need to update the next version so the next version should always contain the version that trunk is representing

Assumption was that we create a new release branch for the upcoming release as soon as we finally branch of for the current release, that was mainly based on the fact that even though we are still preparing 6.7.5.0 release, there is already a 6.7.6.x release branch

Happy to hear your thoughts, how we could achieve this the best

@keulinho keulinho self-assigned this Dec 1, 2025
get_tags() {
git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/shopware/shopware 2>/dev/null |
cut --delimiter='/' --fields=3 | grep -v -i -E '(dev|beta|alpha)'
cut -d '/' -f 3 | grep -v -i -E '(dev|beta|alpha)'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the other format was not compatible with the cut implementation i had installed, so i assume this should have broader compatibility

@keulinho
Copy link
Contributor Author

keulinho commented Dec 1, 2025

With something like this where we have a defined point in time when the last scheduled branch split for a new minor version happened we can also execute the updateMilestonesOnRelease automation, and not only do that on actual release https://github.com/shopware/gh-project-automation/blob/main/src/services/milestone.ts#L70C23-L70C48

@keulinho
Copy link
Contributor Author

keulinho commented Dec 8, 2025

will close this for now, likely needs a bigger fix

@keulinho keulinho closed this Dec 8, 2025
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.

2 participants