From 8a098940c9ccfbf1bb70841bf97d12a0814c6e5f Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Fri, 31 May 2024 19:10:02 +0200 Subject: [PATCH 1/2] Update test-e2e-cron.yml --- .github/workflows/test-e2e-cron.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e-cron.yml b/.github/workflows/test-e2e-cron.yml index 0c0b220..845a64f 100644 --- a/.github/workflows/test-e2e-cron.yml +++ b/.github/workflows/test-e2e-cron.yml @@ -15,8 +15,9 @@ jobs: run: | # Fetch all Polkadot release tags, get the last (newest) one, and parse its name from the output. TAG=$(git ls-remote --refs --tags https://github.com/paritytech/polkadot-sdk.git 'polkadot-v*' \ - | tail -1 \ - | sed 's,[^r]*refs/tags/,,') + | sed 's,[^r]*refs/tags/,,' \ + | sort --version-sort + | tail -1) echo "tag=$TAG" >> $GITHUB_OUTPUT - name: Announce version run: echo "Running tests with Polkadot version ${{ steps.read-tag.outputs.tag }}" From 788a619e961528e1764699083c8bcad0992fe9b4 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Fri, 31 May 2024 19:13:45 +0200 Subject: [PATCH 2/2] Update test-e2e-cron.yml --- .github/workflows/test-e2e-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-e2e-cron.yml b/.github/workflows/test-e2e-cron.yml index 845a64f..aa6ac89 100644 --- a/.github/workflows/test-e2e-cron.yml +++ b/.github/workflows/test-e2e-cron.yml @@ -16,7 +16,7 @@ jobs: # Fetch all Polkadot release tags, get the last (newest) one, and parse its name from the output. TAG=$(git ls-remote --refs --tags https://github.com/paritytech/polkadot-sdk.git 'polkadot-v*' \ | sed 's,[^r]*refs/tags/,,' \ - | sort --version-sort + | sort --version-sort \ | tail -1) echo "tag=$TAG" >> $GITHUB_OUTPUT - name: Announce version