diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-22 16:02:10 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-22 16:02:10 -0400 |
commit | 1741e582ff7b7c18e69a0e5c0c68814c2825766e (patch) | |
tree | 983eb884ba6f4e9413506020e62520e87272f4ee /src/stasis_main.c | |
parent | dae644e06e384b39a023a511ac934603e43b4be2 (diff) | |
download | stasis-check-release-jf.tar.gz |
When artifactory is enabled check if the release is already present.check-release-jf
* When artifactory is disabled the check will be made against the local filesystem.
Diffstat (limited to 'src/stasis_main.c')
-rw-r--r-- | src/stasis_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stasis_main.c b/src/stasis_main.c index 7e2262a..686c044 100644 --- a/src/stasis_main.c +++ b/src/stasis_main.c @@ -415,9 +415,10 @@ int main(int argc, char *argv[]) { //delivery_runtime_show(&ctx); } - // Safety gate: Avoid clobbering a delivery unless the user wants that behavior + // Safety gate: Avoid clobbering a delivered release unless the user wants that behavior + msg(STASIS_MSG_L1, "Checking release history\n"); if (delivery_exists(&ctx)) { - msg(STASIS_MSG_ERROR | STASIS_MSG_L1, "Refusing to overwrite delivery: %s\nUse --overwrite to enable release clobbering.\n", ctx.info.release_name); + msg(STASIS_MSG_ERROR | STASIS_MSG_L1, "Refusing to overwrite release: %s\nUse --overwrite to enable release clobbering.\n", ctx.info.release_name); exit(1); } |