diff options
Diffstat (limited to 'src/omc_main.c')
-rw-r--r-- | src/omc_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/omc_main.c b/src/omc_main.c index 8693dd4..6607d8e 100644 --- a/src/omc_main.c +++ b/src/omc_main.c @@ -581,6 +581,11 @@ int main(int argc, char *argv[]) { msg(OMC_MSG_L3, "Rewriting release spec file (stage 2): %s\n", path_basename(specfile)); delivery_rewrite_spec(&ctx, specfile, DELIVERY_REWRITE_SPEC_STAGE_2); + msg(OMC_MSG_L1, "Dumping metadata\n"); + if (delivery_dump_metadata(&ctx)) { + msg(OMC_MSG_L1 | OMC_MSG_ERROR, "Metadata dump failed\n"); + } + if (want_artifactory) { if (globals.enable_artifactory) { msg(OMC_MSG_L1, "Uploading artifacts\n"); @@ -592,11 +597,6 @@ int main(int argc, char *argv[]) { msg(OMC_MSG_L1 | OMC_MSG_WARN, "Artifact uploading is disabled. deploy:artifactory is not configured\n"); } - msg(OMC_MSG_L1, "Dumping metadata\n"); - if (delivery_dump_metadata(&ctx)) { - msg(OMC_MSG_L1 | OMC_MSG_ERROR, "Metadata dump failed\n"); - } - msg(OMC_MSG_L1, "Cleaning up\n"); delivery_free(&ctx); globals_free(); |