ci: use unique branch per run for WinGet (triangles-VERSION-RUN#)

Avoid 'fetch first' errors when the same version gets re-distributed
(multiple tags or workflow re-runs). Each run uses its own branch in
the winget-pkgs fork.
This commit is contained in:
Krystie (TRI packaging)
2026-06-21 02:14:05 -07:00
parent b58bb2ce5f
commit 758c22e5b2
+1 -1
View File
@@ -516,7 +516,7 @@ jobs:
git config user.name "Sami Ahmed"
git config user.email "SamiAhmed7777@users.noreply.github.com"
BRANCH="triangles-${VERSION}"
BRANCH="triangles-${VERSION}-${{ github.run_number }}"
git checkout -b "$BRANCH"
mkdir -p "$MANIFEST_DIR"