File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
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
+
49
54
- name : ⬆️ Bump version
50
55
if : github.event_name == 'workflow_dispatch'
51
56
id : bump-version
54
59
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
55
60
56
61
VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
57
- sed -E "s/^appVersion:.+$/ appVersion: '$ VERSION'/" -i install/kubernetes/github-actions-cache-server/Chart.yaml
62
+ yq e -i '. appVersion = env( VERSION)' install/kubernetes/github-actions-cache-server/Chart.yaml
58
63
git stage install/kubernetes/github-actions-cache-server/Chart.yaml
59
64
git commit -nm "chore(release): update helm chart appVersion to $VERSION"
60
65
You can’t perform that action at this time.
0 commit comments