Skip to content

Commit

Permalink
chore: update workflow to pull tag versions prepended with v (#85)
Browse files Browse the repository at this point in the history
* add v

* remove back quotes

---------

Co-authored-by: jamie zieziula <[email protected]>
  • Loading branch information
jamiezieziula and jamie zieziula authored Sep 19, 2024
1 parent 98bb5e2 commit 6ac590a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# This ensures that the latest tag we grab will be of the operator image, and not the helm chart
echo "OPERATOR_VERSION=$(\
git ls-remote --tags --refs --sort="v:refname" \
origin '[0-9].[0-9].[0-9]' | tail -n1 | sed 's/.*\///'
origin 'v[0-9].[0-9].[0-9]' | tail -n1 | sed 's/.*\///'
)" >> $GITHUB_OUTPUT
- name: Configure Git
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: |
gh release create $RELEASE_VERSION \
--latest=false \
--notes "Packaged with `prefect-operator` version \
--notes "Packaged with prefect-operator version \
[$OPERATOR_VERSION](https://github.com/PrefectHQ/prefect-operator/releases/tag/$OPERATOR_VERSION)"
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 6ac590a

Please sign in to comment.