release(workflow): add preliminary release qualifier and .0 guardrails#2975
Merged
Conversation
Agent-Logs-Url: https://github.com/operaton/operaton/sessions/ee5e429b-2e1d-47e0-b93f-c3c048a5f4f4 Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add option for preliminary release suffix in release workflow
release(workflow): add preliminary release qualifier and .0 guardrails
May 22, 2026
kthoms
approved these changes
May 22, 2026
kthoms
added a commit
that referenced
this pull request
May 22, 2026
Agent-Logs-Url: https://github.com/operaton/operaton/sessions/ee5e429b-2e1d-47e0-b93f-c3c048a5f4f4 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com> (cherry picked from commit 111d849)
kthoms
added a commit
that referenced
this pull request
May 22, 2026
Agent-Logs-Url: https://github.com/operaton/operaton/sessions/ee5e429b-2e1d-47e0-b93f-c3c048a5f4f4 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com> (cherry picked from commit 111d849)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The release workflow could not produce qualified preliminary releases (e.g.,
2.1.0-M1) from a2.1.0-SNAPSHOTbranch version, which previously led to unintended final releases. This change adds an explicit qualifier input, enforces.0-only eligibility, and adjusts post-release version behavior for preliminary releases.Qualifier input + validation
workflow_dispatchinput:preliminary_release_qualifierM[0-9]orRC[0-9].0versionsRelease version + prerelease flag
Versionstep now derives:base_version(unqualified)version(base_version-qualifierwhen provided)is_prerelease(truewhen qualifier is provided, elsefalse)is_prereleaseinto JReleaser config/argumentsPost-release versioning behavior
base_version-SNAPSHOTChanged Templates
.github/workflows/release.ymlDocumentation Checklist
Operation Metadata
operationIdis unchanged from the existing value (if modifying an existing endpoint)tagexactly matches a name in themain.ftl"tags"arraysummaryis 3–10 words, uses an approved verb, has no HTTP method label, no articles, no trailing punctuationdeprecated = trueis set if and only if the operation is deprecatedDescriptions
ProcessDefinition interface,RuntimeService, etc.)${docsUrl}**Deprecated:** <reason>. Use <alternative> instead.Parameters
required = truetrueand thefalse(or default) effectlast = trueRequest Body
@lib.requestBodyunless the endpoint accepts no body<METHOD> /<path>(optionally with a disambiguating label)key:version:uuidfor process definitions, UUIDs for instances){"type": "String", "value": "...", "valueInfo": {}}Responses
dtoorexamples${docsUrl}linklast = trueFreeMarker Syntax
./mvnw clean package -pl engine-rest/engine-rest-openapi -DskipTestsdescstrings are escaped as\`Registration
endpointsmap inmain.ftl(for new endpoints)"tags"array inmain.ftl(for new tags)caseInstanceId,caseExecutionId,caseDefinitionId) are markeddeprecated = trueWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
repository.jboss.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -classpath /home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/boot/plexus-classworlds-2.8.0.jar -Dclassworlds.conf=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/m2.conf -Dmaven.home=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1 -Dlibrary.jansi.path=/home/REDACTED/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/operaton/operaton org.codehaus.plexus.classworlds.launcher.Launcher -pl parent -DskipTests -Dskip.frontend.build=true validate(dns block)If you need me to access, download, or install something from one of these locations, you can either: