Skip to content

Commit

Permalink
Test action
Browse files Browse the repository at this point in the history
  • Loading branch information
jochbru committed Jul 5, 2024
1 parent 21232bf commit 608c6a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/set-appversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

- name: Find image version
run: |
wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -O - |\
tar xz && mv yq_linux_amd64 yq
chmod +x yq
export VERSION=$(./yq '.librenms.image.tag' charts/librenms/values.yaml)
./yq -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml
wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -o /tmp/yq.tgz
tar -xvf /tmp/yq.tgz
chmod +x /tmp/yq_linux_amd64
export VERSION=$(/tmp/yq_linux_amd64 '.librenms.image.tag' charts/librenms/values.yaml)
/tmp/yq_linux_amd64 -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml
rm yq
Expand Down

0 comments on commit 608c6a7

Please sign in to comment.