From 374b27c0cd4644f0214aeb9140259a190082ce10 Mon Sep 17 00:00:00 2001 From: tommie Date: Fri, 12 May 2023 15:23:32 +0200 Subject: [PATCH] Checks for the distro-specific versions. --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c5e885..6487672 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,8 +66,9 @@ jobs: run: | # Note the leading v to match the Git tag. indexed=v$(reprepro -b debian --list-format '${version}\n' listmatched "${{ steps.set-ubuntu-release-name.outputs.ubuntu_release }}" innernet) + upstream="${{ steps.check-latest-release.outputs.innernet_release }}-0ubuntu0~${{ steps.set-ubuntu-release-name.outputs.ubuntu_release }}" echo "Repo release: $indexed" - if [ "x$indexed" = "x${{ steps.check-latest-release.outputs.innernet_release }}" ]; then + if [ "x$indexed" = "x$upstream" ]; then echo "new_release_exists=false" >>"$GITHUB_OUTPUT" else echo "new_release_exists=true" >>"$GITHUB_OUTPUT"