Loading
update-downstream-tag.sh: accept env TAG_FILE (2-arg) form
The script required 3 positional args (<repo> <tag_file> <tag>), but ps-cloud
release repos migrated to OTICA call it as <repo> <tag> with TAG_FILE exported
in the environment (their release-* targets). That mismatch made every migrated
release job fail ($# -lt 3 -> usage -> exit 1), e.g. irt-as/apps/pep/pep-api.
Disambiguate by remaining arg count: >=2 -> positional <tag_file> <tag>
(canonical, unchanged; used by makefiles/docker.mk); ==1 -> <tag> with TAG_FILE
from the environment. Backward-compatible with both conventions.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>