Skip to content

Commit cf3d384

Browse files
authored
Don't puke in the release workflow if the Nix version didn't change (#1461)
D'oh, `git commit` doesn't like it if you have no diff.
1 parent 64be37b commit cf3d384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/propose-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
3838
sed -i 's#https://flakehub.com/f/DeterminateSystems/nix/=.*";#https://flakehub.com/f/DeterminateSystems/nix/=${{ inputs.nix-version }}";#' ./flake.nix
3939
git add flake.nix
40-
git commit -m "Update Nix release to ${{ inputs.nix-version }}"
40+
git commit -m "Update Nix release to ${{ inputs.nix-version }}" || true

0 commit comments

Comments
 (0)