Skip to content

Commit

Permalink
fix branch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Apr 24, 2024
1 parent f1d2e13 commit 089956d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ jobs:
STRIPPED_VERSION=$(echo "${{ env.VERSION }}" | tr -d '"' | sed -e 's/^v//' -e 's/-[^0-9.]*$//')
yq eval -i ".version = \"${STRIPPED_VERSION}\"" manifest/manifest.json
- name: Update version environment variable
run: echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*$//')" >> $GITHUB_ENV

- name: Store version in branch variable
id: set-branch
run: echo "branch=${{ env.VERSION }}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 089956d

Please sign in to comment.