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

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


The following commit(s) were added to refs/heads/main by this push:
     new dac58535d fix(ci): proper nightly suffix when staging
dac58535d is described below

commit dac58535d0e844d599434f70fb7a09c7bb50b3cc
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Jun 7 10:23:18 2023 +0200

    fix(ci): proper nightly suffix when staging
    
    Closes #4468
---
 .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 4f4d4cb19..d4e0b019f 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