diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 88eb3403..a7b72cf2 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -87,7 +87,7 @@ jobs: - name: Create the flatpak manifest run: | git config --global --add safe.directory $(pwd) - tools/gen_flatpak_manifest.sh --git > io.github.wivrn.wivrn.yml + tools/gen_flatpak_manifest.sh --git https://github.com/${{github.repository}}.git > io.github.wivrn.wivrn.yml # TODO: replace with version > v6.3 when it's released - uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d @@ -432,7 +432,7 @@ jobs: git reset --hard upstream/master git config --global --add safe.directory $(pwd) - ../wivrn/tools/gen_flatpak_manifest.sh --git > io.github.wivrn.wivrn.yml + ../wivrn/tools/gen_flatpak_manifest.sh --git https://github.com/${{github.repository}}.git > io.github.wivrn.wivrn.yml git checkout -b $WIVRN_TAG git add io.github.wivrn.wivrn.yml diff --git a/tools/gen_flatpak_manifest.sh b/tools/gen_flatpak_manifest.sh index 902038d4..94b1d1b1 100755 --- a/tools/gen_flatpak_manifest.sh +++ b/tools/gen_flatpak_manifest.sh @@ -9,6 +9,8 @@ do case "$1" in "--git") WIVRN_SRC_TYPE=git + shift + WIVRN_SRC2="url: $1" ;; "--gitlocal") WIVRN_SRC_TYPE=gitlocal @@ -35,7 +37,6 @@ BOOSTPFR_SHA256=$(curl --silent --location $BOOSTPFR_URL | sha256sum | cut -f1 - if [ $WIVRN_SRC_TYPE = git ] then WIVRN_SRC1="type: git" - WIVRN_SRC2="url: https://github.com/WiVRn/WiVRn.git" WIVRN_SRC3="tag: ${GIT_COMMIT}" elif [ $WIVRN_SRC_TYPE = gitlocal ] then