Skip to content

Commit

Permalink
fix(ci): remove chart version update step (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhra303 authored Jul 15, 2024
1 parent d411991 commit 7c88c1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,6 @@ jobs:
- name: Install helm
uses: azure/setup-helm@v4

- name: Update helm chart version and publish it to main branch
run: |
git checkout main
sed -Ei \
-e 's/^(version\:) .*/\1 '${{ env.VERSION }}'/g' \
-e 's/^(appVersion\:) .*/\1 "'${{ env.VERSION }}'"/g' \
charts/dragonfly-operator/Chart.yaml
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
git commit \
-m 'chore(helm-chart): update to ${{ env.VERSION }}' \
charts/dragonfly-operator/Chart.yaml
git push
- name: Push Helm chart as OCI to Github
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
Expand Down
2 changes: 1 addition & 1 deletion charts/dragonfly-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: v1.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down

0 comments on commit 7c88c1a

Please sign in to comment.