Skip to content

Commit

Permalink
fix branch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Mar 4, 2024
1 parent 9db8972 commit 5c39620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cut-release-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
run: yq eval -P -i ".${{ env.CAMEL_CASE_REPO_NAME }}.image.version=\"${{ env.VERSION }}\"" ./helm/values.yaml

- name: Update version environment variable
run: echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*-.*//g')" >> $GITHUB_ENV
run: echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*$//')" >> $GITHUB_ENV

- name: Store version in branch variable
id: set-branch
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
run: yq eval -P -i ".${{ env.CAMEL_CASE_REPO_NAME }}.image.version=\"${{ env.VERSION }}\"" ./helm/values.yaml

- name: Update version environment variable
run: echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*-.*//g')" >> $GITHUB_ENV
run: echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*$//')" >> $GITHUB_ENV

- name: Store version in branch variable
id: set-branch
Expand Down

0 comments on commit 5c39620

Please sign in to comment.