Skip to content

Commit

Permalink
Fix operatorVersion output (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchnielsen authored Oct 9, 2024
1 parent 1f0b552 commit 0691a63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
echo "RELEASE_VERSION=$(date +'%Y.%-m.%-d%H%M%S')" >> $GITHUB_ENV
# This ensures that the latest tag we grab will be of the operator image, and not the helm chart
echo "IMAGE_VERSION=$(\
echo "OPERATOR_VERSION=$(\
git ls-remote --tags --refs --sort="v:refname" \
origin 'v[0-9].[0-9].[0-9]' | tail -n1 | sed 's/.*\///' | sed 's/v//')" >> $GITHUB_ENV
origin 'v[0-9].[0-9].[0-9]' | tail -n1 | sed 's/.*\///'
)" >> $GITHUB_ENV
- name: Output versions as GitHub Outputs
id: output_versions
Expand Down

0 comments on commit 0691a63

Please sign in to comment.