Skip to content

Commit 0762061

Browse files
committed
ci(release): remove yq
1 parent 09a78e1 commit 0762061

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ jobs:
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
@@ -64,8 +59,7 @@ jobs:
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

0 commit comments

Comments
 (0)