Skip to content

create_data_tar: warn and exit 0 on duplicate version instead of failing - #46

Merged
Keerthi Gowda (keerthi-go) merged 1 commit into
mainfrom
warn-on-duplicate-version
Aug 18, 2026
Merged

create_data_tar: warn and exit 0 on duplicate version instead of failing#46
Keerthi Gowda (keerthi-go) merged 1 commit into
mainfrom
warn-on-duplicate-version

Conversation

@keerthi-go

@keerthi-go Keerthi Gowda (keerthi-go) commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • When multiple projects invoke create_data_tar.py and one has already been published to Artifactory, the previous behavior aborted with a fatal error.
  • This changes that to a non-fatal condition: log a warning with the matching Artifactory location(s) and exit 0, skipping tarball creation.
  • Genuine Artifactory query/parse failures still exit 1.

When multiple projects invoke this script and one has already been
published to Artifactory, the previous behavior aborted with a fatal
error. This treats an existing version as a non-fatal condition: log
a warning with the matching Artifactory location(s) and exit 0,
skipping tarball creation. Genuine Artifactory query/parse failures
still exit 1.

Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
@keerthi-go
Keerthi Gowda (keerthi-go) merged commit 688d11d into main Aug 18, 2026
14 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.

1 participant