Skip to content

Commit

Permalink
[CHORE] changing version helm (#64)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Takashi <nicolas.takashi@coralogix.com>
  • Loading branch information
nicolastakashi authored Aug 23, 2023
1 parent e583e68 commit 83847f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/helm-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- name: Update Chart Version
run: |
TAG="${{ github.ref_name }}"
TAG_VERSION=$(echo $TAG | sed 's/v//')
CURRENT_VERSION=$(grep "version:" charts/coralogix-operator/Chart.yaml | awk '{print $2}')
NEW_VERSION=$(echo $CURRENT_VERSION | awk -F. -v OFS=. '{$3+=1}1')
sed -i "s/appVersion:.*/appVersion: $TAG/" charts/coralogix-operator/Chart.yaml
sed -i "s/appVersion:.*/appVersion: $TAG_VERSION/" charts/coralogix-operator/Chart.yaml
sed -i "s/version:.*/version: $NEW_VERSION/" charts/coralogix-operator/Chart.yaml
- name: Create Pull Request
Expand Down

0 comments on commit 83847f8

Please sign in to comment.