diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 18:22:20 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 23:59:58 +0200 |
commit | 43655648a602b5b21e10dc69726d0d351bec8056 (patch) | |
tree | 39a2d11066355556006e7f61cd8cf1044377a21b /templates/rust/cog.toml | |
parent | refactor(rust): Move to template dir (diff) | |
download | flake-templates-43655648a602b5b21e10dc69726d0d351bec8056.tar.gz flake-templates-43655648a602b5b21e10dc69726d0d351bec8056.zip |
feat(rust): Update to my SOTA
Diffstat (limited to 'templates/rust/cog.toml')
-rw-r--r-- | templates/rust/cog.toml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/rust/cog.toml b/templates/rust/cog.toml index 0756943..2646f07 100644 --- a/templates/rust/cog.toml +++ b/templates/rust/cog.toml @@ -1,14 +1,14 @@ -from_latest_tag = false tag_prefix = "v" +branch_whitelist = ["main", "prime"] ignore_merge_commits = false -pre_package_bump_hooks = [] -post_package_bump_hooks = [] -branch_whitelist = ["prime"] +[commit_types] pre_bump_hooks = [ - "nix build", # verify the project builds - "cargo set-version {{version}}", # bump version in Cargo.toml + "nix flake check", # verify the project builds + "./scripts/renew_copyright_header.sh", # update the license header in each file + "cargo set-version {{version}}", # bump version in Cargo.toml + "nix fmt", # format ] post_bump_hooks = [ "git push", @@ -16,12 +16,12 @@ post_bump_hooks = [ "git push origin v{{version}}", # push the new tag to origin ] -[commit_types] +[bump_profiles] [changelog] path = "NEWS.md" -authors = [] - -[bump_profiles] - -[packages] +template = "remote" +remote = "TODO" +repository = "TODO" +owner = "TODO" +authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }] |