Skip to content

Commit

Permalink
cleanup version
Browse files Browse the repository at this point in the history
  • Loading branch information
jrich523 committed Apr 24, 2024
1 parent 8806fd1 commit 0274348
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
REGISTRY_ALIAS: cyral/helm/crawler
REPOSITORY: crawler
run: |
echo "setting version to $GITHUB_SHA"
sed -i "s/version: .*/version: 0.0.0+$GITHUB_SHA/" Chart.yaml
VERSION="0.0.0+${GITHUB_SHA}"
echo "setting version to $VERSION"
sed -i "s/version: .*/version: $VERSION/" Chart.yaml
helm package .
helm push $REPOSITORY-${GITHUB_SHA}.tgz oci://$REGISTRY/$REGISTRY_ALIAS
helm push $REPOSITORY-${VERSION}.tgz oci://$REGISTRY/$REGISTRY_ALIAS

0 comments on commit 0274348

Please sign in to comment.