main pipeline is now checking the version [skip ci]

This commit is contained in:
XargonWan 2023-08-31 11:07:14 +02:00
parent 012a06a156
commit a23f837f3a

View file

@ -47,15 +47,9 @@ jobs:
id: read_manifest id: read_manifest
run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)" run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)"
- name: Check VERSION - name: Check versions (main only)
id: check_version_string id: check_version_string
run: | run: "automation_tools/version_checker.sh"
if [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=THISBRANCH"* ]] || [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=main"* ]]; then
echo "Version string is present, proceeding."
else
echo "Error: You forgot to specify the version."
exit 1
fi
- name: "Build flatpak: download only" - name: "Build flatpak: download only"
id: "flatpak-download" id: "flatpak-download"