lukaszlenart opened a new pull request, #82: URL: https://github.com/apache/struts-intellij-plugin/pull/82
## Summary After the plugin is published to JetBrains Marketplace, automatically bump the `pluginVersion` in `gradle.properties` so the next release cycle starts from a fresh number. The `BUILD` segment is incremented by the **number of nightly tags between the previous release tag and the just-released tag** (each nightly = one code change). `BRANCH` and `FIX` are preserved. Worked example using `v261.19017.1` (just released): - Previous release: `v252.18980.1` - Nightly tags in `v261.19017.1`'s ancestry since then: 10 - Next `pluginVersion`: `261.19027.1` ## Notes - The version bump is rolled into the existing post-release PR (which previously only patched `CHANGELOG.md`). One PR per release cycle, with both `CHANGELOG.md` and `gradle.properties` changes — the PR is renamed `Post-release ...: changelog + bump to ...`. - `fetch-depth: 0` added to the checkout so the bump step can `git tag --merged`/`--no-merged` against history. - Floors at `+1` so the `BUILD` always advances, even if for some reason no nightlies are tagged in a cycle. - A separate PR will apply the bump manually for the just-released `v261.19017.1` (which predates this workflow change). ## Test plan - [ ] Next release → workflow opens a single `Post-release` PR with both `CHANGELOG.md` patch and `gradle.properties` bump - [ ] Bump magnitude matches the number of nightlies tagged since the previous release -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
