Fixes version comparison.

pull/1/head
tommie 2023-03-20 18:01:42 +01:00 committed by GitHub
parent 23f35227a6
commit 4551e3b3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ jobs:
- name: Check Repo Release
id: check-repo-release
run: |
indexed=$(reprepro -b debian --list-format '${version}\n' listmatched unstable innernet)
# Note the leading v to match the Git tag.
indexed=v$(reprepro -b debian --list-format '${version}\n' listmatched unstable innernet)
echo "Repo release: $indexed"
if [ "x$indexed" = "x${{ steps.check-latest-release.outputs.innernet_release }}" ]; then
echo "new_release_exists=false" >>"$GITHUB_OUTPUT"