소스 검색

Fix Fedora repo update

Maximilian Luz 5 년 전
부모
커밋
b78eee47f6
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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}"