Release workflow: attach the files before publishing; test build is 0.9.0-dev2 - #10
Merged
Merged
Conversation
….9.0-dev2 The repository's releases are immutable: nothing can be attached once a release is published. The release action uploads before publishing for a normal release but publishes a pre-release first, so v0.9.0-dev was published with no files. The release is now created as a draft, the JAR and the .vsix are attached, and a final step publishes it. A deleted immutable release's tag name cannot be used again, so the test build becomes 0.9.0-dev2 (build.gradle and the extension's files, via syncExtensionVersion). doc/DEVELOPMENT.md's Releasing section says so, and the changelog records the fix. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015wo6ufDtEY27NQ8ctU5ns5
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 repository's releases are immutable: nothing can be attached once a release is published. The release action uploads assets before publishing for a normal release but publishes a pre-release first, so
v0.9.0-devwas published with the notes and no files..vsixare attached, and a final step publishes it withgh release edit --draft=false.0.9.0-dev2inbuild.gradleand, viasyncExtensionVersion, the extension'spackage.jsonand lock file.doc/DEVELOPMENT.mdexplains the immutability rules; the changelog records the fix.Verification
ExtensionVersionTestandSourceVersionReferencesTestpass at the new version.vsceat0.9.0-dev2.ghwith the workflow token, which already hascontents: write.🤖 Generated with Claude Code
https://claude.ai/code/session_015wo6ufDtEY27NQ8ctU5ns5
Generated by Claude Code