Skip to content

Commit

Permalink
chore: get badge version related to watkins version in the script not…
Browse files Browse the repository at this point in the history
… latest
  • Loading branch information
zzorica committed Jan 19, 2024
1 parent 0320b7f commit 73634f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_version_badge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:

- name: Update Version Badge
run: |
NEW_VERSION=$(helm show chart oci://ghcr.io/daytonaio/charts/watkins 2>/dev/null | grep 'appVersion:' | awk '{print $2}')
WATKINS_VERSION=$(awk -F'["]' '/WATKINS_VERSION=/{print $2}' setup.sh)
NEW_VERSION=$(helm show chart oci://ghcr.io/daytonaio/charts/watkins --version "$WATKINS_VERSION" 2>/dev/null | grep 'appVersion:' | awk '{print $2}')
sed -i "s/APP_VERSION-[0-9]\+\.[0-9]\+\.[0-9]-blue\+/APP_VERSION-$NEW_VERSION-blue/g" README.md
- name: Commit README.md
Expand Down

0 comments on commit 73634f5

Please sign in to comment.