about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.envrc5
-rw-r--r--.gitignore4
-rw-r--r--cog.toml27
3 files changed, 36 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..a9c7e4e
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,5 @@
+use flake
+if on_git_branch; then
+  echo && git status --short --branch &&
+  echo && git fetch --verbose
+fi
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aad77ec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+# build dirs
+/result
+
+.direnv
diff --git a/cog.toml b/cog.toml
new file mode 100644
index 0000000..8512df7
--- /dev/null
+++ b/cog.toml
@@ -0,0 +1,27 @@
+from_latest_tag = false
+tag_prefix = "v"
+ignore_merge_commits = false
+pre_package_bump_hooks = []
+post_package_bump_hooks = []
+
+branch_whitelist = [
+  "prime",
+]
+
+pre_bump_hooks = [
+    "nix flake check",
+]
+post_bump_hooks = [
+    "git push",
+    "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "NEWS"
+authors = []
+
+[bump_profiles]
+
+[packages]