Skip to content

Commit

Permalink
ci: version build suffix as optional in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
megglos committed Sep 24, 2024
1 parent dc2b71b commit 173f92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Get Release version
shell: bash
run: |
RELEASE_VERSION=$(echo $GITHUB_REF | egrep -o "[0-9]\.[0-9]\.[0-9]{1,2}(-.*)")
RELEASE_VERSION=$(echo $GITHUB_REF | egrep -o "[0-9]\.[0-9]\.[0-9]{1,2}(-.*)?")
echo "RELEASE_VERSION=$RELEASE_VERSION" >> "$GITHUB_ENV"
- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 173f92a

Please sign in to comment.