Skip to content

ci: resolve the subrelease tags - #45

Merged
chaithubk merged 1 commit into
mainfrom
failTag
May 15, 2026
Merged

ci: resolve the subrelease tags#45
chaithubk merged 1 commit into
mainfrom
failTag

Conversation

@chaithubk

Copy link
Copy Markdown
Owner

The failure was caused by resolving the first tag from an empty [grouped_release_tags], which produced an empty string and crashed git rev-list.

  • Updated the commit-resolution step in combine-release.yml:
    • If grouped_release_tags is empty, it now falls back to:
      • core-image-minimal-<release_version>
      • core-image-medtech-<release_version>
    • Resolves the first tag commit via GitHub API (not local git), so it works even with shallow checkout.
    • Handles annotated tags correctly by dereferencing tag objects to commit SHA.
    • Emits a clear error if no first tag can be determined.
  • Cleaned link formatting in generate-combined-release.py:
    • Bundled releases now render as clean list items (links only), matching your preferred format.

The failure was caused by resolving the first tag from an empty [grouped_release_tags], which produced an empty string and crashed `git rev-list`.

- Updated the commit-resolution step in combine-release.yml:
  - If `grouped_release_tags` is empty, it now falls back to:
    - `core-image-minimal-<release_version>`
    - `core-image-medtech-<release_version>`
  - Resolves the first tag commit via GitHub API (not local git), so it works even with shallow checkout.
  - Handles annotated tags correctly by dereferencing tag objects to commit SHA.
  - Emits a clear error if no first tag can be determined.
- Cleaned link formatting in generate-combined-release.py:
  - Bundled releases now render as clean list items (links only), matching your preferred format.
@chaithubk
chaithubk merged commit b5d709b into main May 15, 2026
4 checks passed
@chaithubk
chaithubk deleted the failTag branch May 15, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant