Selaa lähdekoodia

Fix Fedora repo update

Maximilian Luz 5 vuotta sitten
vanhempi
commit
b78eee47f6
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      .github/workflows/fedora-30.yml
  2. 1 1
      .github/workflows/fedora-31.yml

+ 1 - 1
.github/workflows/fedora-30.yml

@@ -103,7 +103,7 @@ jobs:
 
         # commit and push
         update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
-        git switch -c "${update_branch}"
+        git checkout -b "${update_branch}"
         git add .
         git commit -m "Update Fedora 30 kernel"
         git push --set-upstream origin "${update_branch}"

+ 1 - 1
.github/workflows/fedora-31.yml

@@ -103,7 +103,7 @@ jobs:
 
         # commit and push
         update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
-        git switch -c "${update_branch}"
+        git checkout -b "${update_branch}"
         git add .
         git commit -m "Update Fedora 31 kernel"
         git push --set-upstream origin "${update_branch}"