summary refs log tree commit diff stats
path: root/cog.toml
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-20 13:50:44 +0200
committersils <sils@sils.li>2023-05-20 13:50:44 +0200
commit556adb748c166c4e87770db3312baaa5cbd4880a (patch)
tree6301db25e4dc7bbf12e39dadae817376d0640f9c /cog.toml
parentBuild(git-crypt): Add collaborator (diff)
downloadnixos-server-556adb748c166c4e87770db3312baaa5cbd4880a.tar.gz
nixos-server-556adb748c166c4e87770db3312baaa5cbd4880a.zip
Build(cog): Add
Co-authored-by: Soispha <soispha@vhack.eu>
Diffstat (limited to 'cog.toml')
-rw-r--r--cog.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/cog.toml b/cog.toml
new file mode 100644
index 0000000..814eccd
--- /dev/null
+++ b/cog.toml
@@ -0,0 +1,28 @@
+from_latest_tag = false
+tag_prefix = "v"
+ignore_merge_commits = false
+pre_package_bump_hooks = []
+post_package_bump_hooks = []
+
+branch_whitelist = [
+  "prod",
+  "main",
+]
+
+pre_bump_hooks = [
+    "nix flake check", # verify the project builds
+]
+post_bump_hooks = [
+    "git push",
+    "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "CHANGELOG.md"
+authors = []
+
+[bump_profiles]
+
+[packages]