Skip to content

ci: prioritize release tag name and changed files for package detection#415

Merged
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:ci-fix-tag-name-detection
Jul 24, 2026
Merged

ci: prioritize release tag name and changed files for package detection#415
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:ci-fix-tag-name-detection

Conversation

@AnshulPatni

Copy link
Copy Markdown
Contributor

Update package directory detection in release build script to prioritize _LOUHI_TAG_NAME over _LOUHI_REF_NAME, and fallback to inspecting _LOUHI_CHANGED_FILES.

During automated release tag triggers, _LOUHI_TAG_NAME contains the release tag string (e.g. function-maven-plugin-v1.0.2), whereas _LOUHI_REF_NAME defaults to the target branch name (main). Inspecting _LOUHI_TAG_NAME first and checking _LOUHI_CHANGED_FILES for fallback ensures that release builds correctly target their intended component directory.

Change-Id: I71ae86de8fcfce9e9a030d0cb422b09906b239c2

…ackage detection

Change-Id: I71ae86de8fcfce9e9a030d0cb422b09906b239c2
@AnshulPatni
AnshulPatni requested a review from taeold July 24, 2026 21:18
@AnshulPatni
AnshulPatni merged commit f670b11 into GoogleCloudPlatform:main Jul 24, 2026
26 checks passed
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.

2 participants