build(cog): Use new `renew_copyright_header` script
This commit is contained in:
parent
0a60c894d2
commit
c7b8fb3f86
4
cog.toml
4
cog.toml
|
@ -25,7 +25,7 @@ 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
|
||||||
|
@ -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"
|
||||||
|
|
Reference in New Issue