about summary refs log tree commit diff stats
path: root/templates/rust/cog.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/rust/cog.toml (renamed from rust/cog.toml)14
1 files changed, 6 insertions, 8 deletions
diff --git a/rust/cog.toml b/templates/rust/cog.toml
index 2f2b2ce..0756943 100644
--- a/rust/cog.toml
+++ b/templates/rust/cog.toml
@@ -4,18 +4,16 @@ ignore_merge_commits = false
 pre_package_bump_hooks = []
 post_package_bump_hooks = []
 
-branch_whitelist = [
-  "prime",
-]
+branch_whitelist = ["prime"]
 
 pre_bump_hooks = [
-    "nix build", # verify the project builds
-    "cargo set-version {{version}}",  # bump version in Cargo.toml
+  "nix build",                     # verify the project builds
+  "cargo set-version {{version}}", # bump version in Cargo.toml
 ]
 post_bump_hooks = [
-    "git push",
-    "cargo publish",
-    "git push origin v{{version}}", # push the new tag to origin
+  "git push",
+  "cargo publish",
+  "git push origin v{{version}}", # push the new tag to origin
 ]
 
 [commit_types]