Create version-bump branch
This commit is contained in:
parent
a821b67c89
commit
416af8e562
2 changed files with 5 additions and 4 deletions
|
@ -82,5 +82,4 @@ in {
|
||||||
ip6address = "fd23:42:cda:4342::2";
|
ip6address = "fd23:42:cda:4342::2";
|
||||||
ip4address = "172.20.71.2";
|
ip4address = "172.20.71.2";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,13 +59,15 @@ in rec {
|
||||||
haskellList keys
|
haskellList keys
|
||||||
}
|
}
|
||||||
when bump $ ignoreFailure $ niv "update"
|
when bump $ ignoreFailure $ niv "update"
|
||||||
mapM_ (test_system_config dir) ${haskellList systems}
|
|
||||||
mapM_ (test_home_config dir) ${haskellList homes}
|
|
||||||
changed <- (mempty /=) <$> (git "-C" dir "status" "--porcelain" |> captureTrim)
|
changed <- (mempty /=) <$> (git "-C" dir "status" "--porcelain" |> captureTrim)
|
||||||
when changed $ do
|
when changed $ do
|
||||||
git "-C" dir "config" "user.email" "maralorn@maralorn.de"
|
git "-C" dir "config" "user.email" "maralorn@maralorn.de"
|
||||||
git "-C" dir "config" "user.name" "maralorn (nix-auto-updater)"
|
git "-C" dir "config" "user.name" "maralorn (nix-auto-updater)"
|
||||||
git "-C" dir "commit" "-am" "Update dependencies with niv"
|
git "-C" dir "commit" "-am" "Update dependencies with niv"
|
||||||
git "-C" dir "push"
|
git "-C" dir "push" "-f" "origin" "master:version-bump"
|
||||||
|
mapM_ (test_system_config dir) ${haskellList systems}
|
||||||
|
mapM_ (test_home_config dir) ${haskellList homes}
|
||||||
|
when changed $ do
|
||||||
|
git "-C" dir "push" "origin" "master:master"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue