Skip to content

Commit

Permalink
Fix 4testing workflow
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Kireev <[email protected]>
Co-committed-by: Dmitry Kireev <[email protected]>
  • Loading branch information
Dmitry Kireev authored and VyacheslavSemin committed Oct 3, 2024
1 parent aea0790 commit 9b888f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/4testing_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set chart version
run: |
wget https://download.onlyoffice.com/charts/4testing/index.yaml -P /tmp
LATEST_VERSION=$(awk '/docs-shards:/{f=1};f{print}' /tmp/index.yaml | awk '/version:/ {print $2;}' | head -1)
LATEST_VERSION=$(awk '/docs-shards:/{f=1};f{print}' /tmp/index.yaml | awk '/^ version:/ {print $2;}' | head -1)
NEW_VERSION=$(awk '/version:/ {print $2;}' Chart.yaml | head -1)
if [[ "$LATEST_VERSION" == *"$NEW_VERSION"* ]]; then
RC=${LATEST_VERSION: -1}
Expand Down

0 comments on commit 9b888f2

Please sign in to comment.