File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 4646 with :
4747 node-version : lts/*
4848
49- - name : Install yq
50- run : |
51- wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
52- chmod +x /usr/bin/yq
53-
5449 - name : ⬆️ Bump version
5550 if : github.event_name == 'workflow_dispatch'
5651 id : bump-version
6459
6560 - name : ⬆️ Bump Helm chart app version
6661 run : |
67- VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
68- yq e -i '.appVersion = env(VERSION)' install/kubernetes/github-actions-cache-server/Chart.yaml
62+ VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//') sed -E "s/^appVersion:.+$/appVersion: '$VERSION'/" -i install/kubernetes/github-actions-cache-server/Chart.yaml
6963 git stage install/kubernetes/github-actions-cache-server/Chart.yaml
7064 git commit -nm "chore(release): update helm chart appVersion to $VERSION"
7165
You can’t perform that action at this time.
0 commit comments