Skip to content

Commit 3ec2a68

Browse files
committed
fix: update version numbers in README
1 parent a0e2328 commit 3ec2a68

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/goreleaser.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
OLD_TAG=$(svu current --strip-prefix)
3232
NEW_TAG=$(svu next --strip-prefix)
3333
[ "$OLD_TAG" == "$NEW_TAG" ] && echo "no version bump" && exit 0
34-
rg $(svu current) default.nix main.go README.md --files-with-matches | xargs sed -i "s/$(svu current)/$(svu next)/g"
35-
rg $(svu current --prefix='') default.nix main.go README.md --files-with-matches | xargs sed -i "s/$(svu current --prefix='')/$(svu next --prefix='')/g"
34+
echo default.nix README.md main.go | xargs sed -i "s/$(svu current)/$(svu next)/g"
35+
echo default.nix README.md main.go | xargs sed -i "s/$(svu current --prefix='')/$(svu next --prefix='')/g"
3636
git add default.nix
3737
git add main.go
3838
git add README.md

flake.nix

-8
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@
5454
description = "Run gomod2nix before commit";
5555
entry = "${gomod2nix.legacyPackages.${system}.gomod2nix}/bin/gomod2nix";
5656
};
57-
58-
pre-commit.hooks.svu = {
59-
enable = true;
60-
pass_filenames = false;
61-
name = "svu";
62-
description = "Bump version numbers in code";
63-
entry = "${pkgs.svu}/bin/svu --help";
64-
};
6557
}
6658
];
6759
};

0 commit comments

Comments
 (0)