Add manual GitHub Release build workflow (build-release.yml) - #20
Merged
Merged
Conversation
build_all.py: script body wrapped in main() (identical behavior, now importable) so build_all_github.py can call it. build_venv.py: ensure_build_venv() now honors an optional GLA_BUILD_VENV_DIR env var, falling back to the existing build_manifest.BUILD_VENV_DIR (D:\Garmin\.venv_gla) when unset — local builds are unaffected, CI sets it to a runner-owned path. build_all_github.py: new CI-only entry point. Runs build_all.main() unchanged (tests + Target 2 + Target 3 + post-build validation); only on success, publishes a GitHub Release (tag vX.Y.Z from version.py) with the four build outputs (Garmin_Local_Archive.zip[.sha256], Garmin_Local_Archive_Standalone.zip[.sha256]) as assets. Release notes default to the HEAD commit's message body, overridable via a workflow_dispatch input. Never imported by any local build script. .github/workflows/build-release.yml: workflow_dispatch-only (manual, one click — not every push should cut a release), windows-latest. Inputs: prerelease (bool) and an optional release-notes override. D:\Garmin\.venv_gla-on-windows-latest feasibility already confirmed via build-venv-probe.yml. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JYLx9STTgfo9KXLC2Gog3g
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
build_all.py: script body wrapped inmain()(identical behavior, now importable) sobuild_all_github.pycan call it.build_venv.py:ensure_build_venv()now honors an optionalGLA_BUILD_VENV_DIRenv var, falling back to the existingbuild_manifest.BUILD_VENV_DIR(D:\Garmin\.venv_gla) when unset — local builds are completely unaffected, CI sets it to a runner-owned path instead.build_all_github.py(new, CI-only): runsbuild_all.main()unchanged (tests + Target 2 + Target 3 + post-build validation); only on success, publishes a GitHub Release (tagvX.Y.Zfromversion.py) with the four build outputs (Garmin_Local_Archive.zip[.sha256],Garmin_Local_Archive_Standalone.zip[.sha256]) as assets. Release notes default to the HEAD commit's message body, overridable via aworkflow_dispatchinput. Never imported by any local build script..github/workflows/build-release.yml(new):workflow_dispatch-only — manual, one click, not every push cuts a release. Inputs:prerelease(bool, also controls whether it's marked "Latest") and an optional release-notes override.D:\Garmin\.venv_glaonwindows-latestfeasibility already confirmed viabuild-venv-probe.yml(separate, already-merged probe).Test plan
python -m py_compile/yaml.safe_loadbuild-release.ymlviaworkflow_dispatchafter merge, confirm the full build + Release publish succeeds🤖 Generated with Claude Code
https://claude.ai/code/session_01JYLx9STTgfo9KXLC2Gog3g
Generated by Claude Code