Delete obsolete snapshot release in post-release workflow#2971
Merged
Conversation
Agent-Logs-Url: https://github.com/operaton/operaton/sessions/05b06594-1ffc-43d7-8c9e-dc7c235766cf Co-authored-by: kthoms <265597+kthoms@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Delete obsolete preliminary release after successful release
Delete obsolete snapshot release in post-release workflow
May 21, 2026
kthoms
approved these changes
May 22, 2026
kthoms
added a commit
that referenced
this pull request
May 22, 2026
…2971) Agent-Logs-Url: https://github.com/operaton/operaton/sessions/05b06594-1ffc-43d7-8c9e-dc7c235766cf --------- 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 7931bb9)
kthoms
added a commit
that referenced
this pull request
May 22, 2026
…2971) Agent-Logs-Url: https://github.com/operaton/operaton/sessions/05b06594-1ffc-43d7-8c9e-dc7c235766cf --------- 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 7931bb9)
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 already tried to remove the preliminary GitHub release after a successful release, but it only targeted
v<version>-SNAPSHOT. Snapshot releases are created as<version>-SNAPSHOT, so the obsolete preliminary release could remain published.post_releasejob to delete the unprefixed snapshot release tag:<version>-SNAPSHOT.v<version>-SNAPSHOTso older prefixed snapshot releases are also cleaned up.Changed Templates
.github/workflows/release.ymlDocumentation Checklist
Not applicable: this PR changes release workflow behavior, not OpenAPI documentation templates.
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 = truetrueandfalse(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 = true