about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cog.toml27
1 files changed, 11 insertions, 16 deletions
diff --git a/cog.toml b/cog.toml
index b9ccca7..d52c236 100644
--- a/cog.toml
+++ b/cog.toml
@@ -1,27 +1,22 @@
-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",
-]
 
 pre_bump_hooks = [
-    "nix flake check",
+  "nix flake check",                                                    # verify the project builds
+  "nix fmt",                                                            # format
 ]
 post_bump_hooks = [
-    "git push",
-    "git push origin v{{version}}", # push the new tag to origin
+  "git push",
+  "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 = "codeberg.org"
+repository = "flake-templates"
+owner = "soispha"
+authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]