Skip to content

fix(build): Harden prepare-deploy.sh - #3406

Merged
cachescrubber merged 1 commit into
mainfrom
fix/release-db-schema-process
Jul 24, 2026
Merged

cachescrubber merged 1 commit into
mainfrom
fix/release-db-schema-process

Conversation

@javahippie

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the scope:ci Changes to the CI, e.g. GitHub workflows label Jul 24, 2026

@cachescrubber cachescrubber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

a dry-run release will be the ultimate test

@cachescrubber
cachescrubber merged commit d2736f3 into main Jul 24, 2026
16 checks passed
@sonarqubecloud

Copy link
Copy Markdown

@cachescrubber
cachescrubber deleted the fix/release-db-schema-process branch July 24, 2026 15:30
kthoms added a commit that referenced this pull request Aug 21, 2026
)

Backport of PR #3406 (d2736f3), merged to
main 2026-07-24 but never backported. Without it, release.yml's Maven Build
step crashes on this branch: the old script picked the highest-versioned
tag across ALL branches containing a historical db-change commit (v2.2.0-M2,
not v2.1.3), then used 'set -e' with a bare 'git diff --quiet' outside any
if-condition, so the nonzero exit from a real diff aborted the script before
the intended if-check ran. Found during dry-run for the 2.1.4 release.

Co-authored-by: Operaton Release Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:ci Changes to the CI, e.g. GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants