1
0
Fork 0

Fix bump script

This commit is contained in:
Malte 2023-02-06 04:53:44 +01:00
parent ca0e91eb6a
commit 3a0c82f8fc

View file

@ -35,7 +35,7 @@ main = do
git "config" "user.email" "maralorn@maralorn.de"
git "config" "user.name" "maralorn (nix-auto-updater)"
setEnv "PATH" . toString $ Text.intercalate ":" paths
ignoreFailure $ nix "flake" "update" "--commit-lock-file" "--commit-lockfile-summary"
ignoreFailure $ nix "flake" "update" "--commit-lock-file"
changed <- LBS.null <$> (git "branch" "-r" "--contains" "HEAD" |> captureTrim)
if changed
then git "push" "-f" "origin" "HEAD:flake-lock-update"