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 3168713 commit fdf3024
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/set-appversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Install YQ

- name: Find image version
uses: mikefarah/[email protected]
run: |
sudo add-apt-repository ppa:rmescandon/yq
sudo apt update
sudo apt install yq -y
export VERSION=$(yq '.librenms.image.tag' charts/librenms/values.yaml)
yq -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5

0 comments on commit fdf3024

Please sign in to comment.