build(cog): Use new `renew_copyright_header` script

This commit is contained in:
Benedikt Peetz 2024-05-04 10:19:57 +02:00
parent 2e92028de2
commit 198421761c
Signed by: bpeetz
GPG Key ID: B6139BCB07CE946D
1 changed files with 4 additions and 6 deletions

View File

@ -25,10 +25,10 @@ ignore_merge_commits = false
[commit_types] [commit_types]
pre_bump_hooks = [ pre_bump_hooks = [
"licensur -p -i", # update the license header in each file "./scripts/renew_copyright_header.sh", # update the license header in each file
"nix build", # verify the project builds "nix build", # verify the project builds
"nix fmt", # format "nix fmt", # format
"cargo set-version {{version}}", # bump version in Cargo.toml "cargo set-version {{version}}", # bump version in Cargo.toml
] ]
post_bump_hooks = [ post_bump_hooks = [
"git push", "git push",
@ -36,8 +36,6 @@ post_bump_hooks = [
"git push origin v{{version}}", # push the new tag to origin "git push origin v{{version}}", # push the new tag to origin
] ]
[bump_profiles]
[changelog] [changelog]
path = "NEWS.md" path = "NEWS.md"
remote = "git.nerdcult.net" remote = "git.nerdcult.net"