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 46
46
with :
47
47
node-version : lts/*
48
48
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
-
54
49
- name : ⬆️ Bump version
55
50
if : github.event_name == 'workflow_dispatch'
56
51
id : bump-version
64
59
65
60
- name : ⬆️ Bump Helm chart app version
66
61
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
69
63
git stage install/kubernetes/github-actions-cache-server/Chart.yaml
70
64
git commit -nm "chore(release): update helm chart appVersion to $VERSION"
71
65
You can’t perform that action at this time.
0 commit comments