Fix Fedora repo update
This commit is contained in:
parent
69eb066530
commit
b78eee47f6
2
.github/workflows/fedora-30.yml
vendored
2
.github/workflows/fedora-30.yml
vendored
|
@ -103,7 +103,7 @@ jobs:
|
||||||
|
|
||||||
# commit and push
|
# commit and push
|
||||||
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
|
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 add .
|
||||||
git commit -m "Update Fedora 30 kernel"
|
git commit -m "Update Fedora 30 kernel"
|
||||||
git push --set-upstream origin "${update_branch}"
|
git push --set-upstream origin "${update_branch}"
|
||||||
|
|
2
.github/workflows/fedora-31.yml
vendored
2
.github/workflows/fedora-31.yml
vendored
|
@ -103,7 +103,7 @@ jobs:
|
||||||
|
|
||||||
# commit and push
|
# commit and push
|
||||||
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
|
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 add .
|
||||||
git commit -m "Update Fedora 31 kernel"
|
git commit -m "Update Fedora 31 kernel"
|
||||||
git push --set-upstream origin "${update_branch}"
|
git push --set-upstream origin "${update_branch}"
|
||||||
|
|
Loading…
Reference in a new issue