mirror of
https://github.com/acaloiaro/ess
synced 2026-07-21 10:12:19 +00:00
fix: update version numbers in README
This commit is contained in:
parent
a0e2328a0b
commit
3ec2a6818f
2 changed files with 2 additions and 10 deletions
4
.github/workflows/goreleaser.yml
vendored
4
.github/workflows/goreleaser.yml
vendored
|
|
@ -31,8 +31,8 @@ jobs:
|
|||
OLD_TAG=$(svu current --strip-prefix)
|
||||
NEW_TAG=$(svu next --strip-prefix)
|
||||
[ "$OLD_TAG" == "$NEW_TAG" ] && echo "no version bump" && exit 0
|
||||
rg $(svu current) default.nix main.go README.md --files-with-matches | xargs sed -i "s/$(svu current)/$(svu next)/g"
|
||||
rg $(svu current --prefix='') default.nix main.go README.md --files-with-matches | xargs sed -i "s/$(svu current --prefix='')/$(svu next --prefix='')/g"
|
||||
echo default.nix README.md main.go | xargs sed -i "s/$(svu current)/$(svu next)/g"
|
||||
echo default.nix README.md main.go | xargs sed -i "s/$(svu current --prefix='')/$(svu next --prefix='')/g"
|
||||
git add default.nix
|
||||
git add main.go
|
||||
git add README.md
|
||||
|
|
|
|||
|
|
@ -54,14 +54,6 @@
|
|||
description = "Run gomod2nix before commit";
|
||||
entry = "${gomod2nix.legacyPackages.${system}.gomod2nix}/bin/gomod2nix";
|
||||
};
|
||||
|
||||
pre-commit.hooks.svu = {
|
||||
enable = true;
|
||||
pass_filenames = false;
|
||||
name = "svu";
|
||||
description = "Bump version numbers in code";
|
||||
entry = "${pkgs.svu}/bin/svu --help";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue