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 9c7db3c commit 0485b8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/set-appversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
- name: Find image version
run: |
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 -C /tmp
tar -xvf /tmp/yq.tgz --directory /tmp
chmod +x /tmp/yq_linux_amd64
export VERSION=$(/tmp/yq_linux_amd64 '.librenms.image.tag' charts/librenms/values.yaml)
echo "DETECTED VERSION $VERSION"
/tmp/yq_linux_amd64 -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml
Expand Down

0 comments on commit 0485b8e

Please sign in to comment.