You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/03/08 08:57:35 UTC

[camel-k-runtime] 04/05: fix(ci): using a profile for distribution artifact

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.15.x
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 6a9687901898b5c6198ccf197a46cab1f94c0560
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Oct 24 13:15:43 2022 +0200

    fix(ci): using a profile for distribution artifact
---
 .github/workflows/ci-build.yml | 5 +++--
 distribution/pom.xml           | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 1d001356..5b04e035 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -197,5 +197,6 @@ jobs:
       # Deploy both artifacts and sources (may be required by Camel K)
       run: |
         ./mvnw ${MAVEN_ARGS} clean deploy -DskipTests -DskipITs --settings .github/asf-deploy-settings.xml
-        cd distribution
-        ../mvnw ${MAVEN_ARGS} clean deploy -DskipTests -DskipITs --settings ../.github/asf-deploy-settings.xml -Prelease
+        ./mvnw ${MAVEN_ARGS} clean deploy -DskipTests -DskipITs --settings .github/asf-deploy-settings.xml \
+          -Pdistribution \
+          -f distribution/pom.xml
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 7132dacd..d46ad666 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -29,7 +29,7 @@
   <artifactId>apache-camel-k-runtime</artifactId>
   <profiles>
     <profile>
-      <id>release</id>
+      <id>distribution</id>
       <build>
         <plugins>
           <plugin>