From eccbcce26d7f7e49419e062a0066476eab4c8843 Mon Sep 17 00:00:00 2001 From: Daniel Llewellyn Date: Tue, 21 Apr 2020 11:20:07 +0100 Subject: [PATCH] GitHub Actions: Update release-check - Remove branch definition - Fix awk command to match the version in edge in the Snap Store Signed-off-by: Daniel Llewellyn --- .github/workflows/release-check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index ac6179d..bce156c 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -16,13 +16,12 @@ jobs: | grep -E 'http://www.makemkv.com/download/makemkv-bin-[0-9]+\.[0-9]+\.[0-9]+\.tar\.gz' \ | head -n1 \ | sed -E -e 's|^.*\"http://www.makemkv.com/download/makemkv-bin-([0-9]+\.[0-9]+\.[0-9]+)\.tar\.gz\".*|\1|')" - EDGEVER="$(snap info makemkv | awk '$1 == "edge:" { print $2 }')" + EDGEVER="$(snap info makemkv | awk '$1 == "latest/edge:" { print $2 }')" if [ "$VERSION" != "$EDGEVER" ]; then echo "$(date -u --rfc-3339=seconds) Version $VERSION" >> .build.stamp fi - uses: stefanzweifel/git-auto-commit-action@v2.1.0 with: commit_message: Trigger build for new version - branch: ${{ github.head_ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}