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

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


The following commit(s) were added to refs/heads/release-1.12.x by this push:
     new 475711739 fix(ci): proper nightly suffix replace
475711739 is described below

commit 475711739c7d2bf70c70b6e7e543cbcdfafd6b2d
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Jun 7 10:24:01 2023 +0200

    fix(ci): proper nightly suffix replace
---
 .github/actions/release-nightly/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index 8b0df2fcb..e13f8a311 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -63,7 +63,7 @@ runs:
     - name: Get nightly version and update date
       shell: bash
       run: |
-        V=$(make get-version | sed s/-SNAPSHOT/-nightly/)
+        V="$(make get-version | sed s/-SNAPSHOT//)-nightly"
         D=$(date)
         echo "VERSION=$V" >> $GITHUB_ENV
         echo "UPD_DATE=$D" >> $GITHUB_ENV

Reply via email to