wu-sheng opened a new pull request, #19: URL: https://github.com/apache/skywalking-graalvm-distro/pull/19
### Fix pre-release and full-release scripts for patch releases When releasing a patch version (e.g. `0.2.1`) from a main branch that is already at the next minor SNAPSHOT (e.g. `0.3.0-SNAPSHOT`), the next dev version equals the current version. The scripts failed because: - `pre-release.sh`: tried to commit a no-op version bump (`0.3.0-SNAPSHOT` → `0.3.0-SNAPSHOT`), failing with "nothing to commit" - `full-release.sh`: assumed `HEAD` was always the snapshot bump commit and `HEAD~1` was the tagged release **Changes:** - `pre-release.sh`: skip version bump + commit on main when `CURRENT_VERSION == NEXT_VERSION` - `full-release.sh`: detect whether a snapshot bump commit was created; skip PR branch/PR creation when not needed; find the tag from the release branch instead of `HEAD~1` - [x] License headers valid: `license-eye header check` -- 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]
