pkgs/nixfiles: nixfiles-updated-inputs push update branch
This commit is contained in:
parent
9050a99666
commit
704aba254d
@ -24,9 +24,12 @@ echo "[!] Update nixpkgs"
|
|||||||
nix flake lock --update-input nixpkgs
|
nix flake lock --update-input nixpkgs
|
||||||
|
|
||||||
echo "[!] Commit changes"
|
echo "[!] Commit changes"
|
||||||
git add flake.lock
|
xgit add flake.lock
|
||||||
xgit commit -m "Update nixpkgs ${NOW}" || true
|
xgit commit -m "Update nixpkgs ${NOW}" || true
|
||||||
|
|
||||||
|
echo "[!] Publish ${UPDATE_BRANCH}"
|
||||||
|
xgit push --set-upstream origin "${UPDATE_BRANCH}"
|
||||||
|
|
||||||
echo "[!] Merge ${UPDATE_BRANCH} into updated-inputs"
|
echo "[!] Merge ${UPDATE_BRANCH} into updated-inputs"
|
||||||
xgit checkout updated-inputs
|
xgit checkout updated-inputs
|
||||||
xgit merge -s ort -X theirs "${UPDATE_BRANCH}" -m "Update from ${UPDATE_BRANCH}"
|
xgit merge -s ort -X theirs "${UPDATE_BRANCH}" -m "Update from ${UPDATE_BRANCH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user