Repository navigation
CI: desktop preview GitHub Release (no Maven), with examples - #338
Merged
Merged
Conversation
On a v* tag (or by hand for an existing tag) desktop-release.yml assembles, on macOS, a Maven repository zip (library desktop artifact with every desktop libpython, KSP processor and gate zip, Gradle plugin and marker; built with -Dmaven.repo.local, never ~/.m2), the typedpython wheel, the gate zip, an examples zip and SHA256SUMS; runs both examples from those assets alone (a Kotlin app calling Python, and typedpython demo); and only then creates or updates the pre-release. Nothing goes to Maven Central. The tag must equal v<pythonVersion>-<libraryVersionSuffix>.
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.
Prepares the first desktop release (leader item 8). Only the workflow is added here; the leader does release -> main and the tag.
Trigger: pushing a tag v- (today v3.15.0-alpha01), or workflow_dispatch for an existing tag. The tag must match the build's version.
Assets (.github/scripts/release/assemble-desktop-release.sh, the same script I ran locally):
The script fails if any io.github.thisisthepy coordinate appears.
Examples (docs/release/desktop/README.md; the README also becomes the release notes):
The workflow runs both from the unzipped assets alone and checks their output before it uploads anything.
Verified locally (macOS arm64):
Not verified:
Found while writing example 1, not fixed here: