From 4eefda832f84646e7a6de5c75ad9a545a2ddc961 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Thu, 14 Nov 2024 14:11:58 +0200 Subject: [PATCH] packaging: fallback to checkout by commit sha if tag doesn't exist --- packaging/rpm/umu-launcher.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/rpm/umu-launcher.spec b/packaging/rpm/umu-launcher.spec index fd9943ee7..a43153744 100644 --- a/packaging/rpm/umu-launcher.spec +++ b/packaging/rpm/umu-launcher.spec @@ -48,7 +48,7 @@ Requires: python3-filelock %prep git clone --single-branch --branch main https://github.com/Open-Wine-Components/umu-launcher.git cd umu-launcher -git checkout %{tag} +git checkout %{tag} || git checkout %{manual_commit} git submodule update --init --recursive %build