about summary refs log tree commit diff stats
path: root/templates/shell
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:11:39 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 00:00:01 +0200
commit9a7632bcad8c9fb3f52ae551b9aa28625f08e075 (patch)
tree6c15acddbbc38f3e230c216b618c8bdb6692b685 /templates/shell
parentfeat(latex): Update to my current SOTA (diff)
downloadflake-templates-9a7632bcad8c9fb3f52ae551b9aa28625f08e075.tar.gz
flake-templates-9a7632bcad8c9fb3f52ae551b9aa28625f08e075.zip
refactor(shell): Move to the new `templates` directory
Diffstat (limited to '')
-rw-r--r--templates/shell/.envrc (renamed from shell/.envrc)0
-rw-r--r--templates/shell/.gitignore (renamed from shell/.gitignore)0
-rw-r--r--templates/shell/COPYING (renamed from shell/COPYING)0
-rw-r--r--templates/shell/LICENSE.spdx (renamed from shell/LICENSE.spdx)0
-rw-r--r--templates/shell/cog.toml26
-rw-r--r--templates/shell/flake.nix (renamed from shell/flake.nix)0
6 files changed, 26 insertions, 0 deletions
diff --git a/shell/.envrc b/templates/shell/.envrc
index a9c7e4e..a9c7e4e 100644
--- a/shell/.envrc
+++ b/templates/shell/.envrc
diff --git a/shell/.gitignore b/templates/shell/.gitignore
index aad77ec..aad77ec 100644
--- a/shell/.gitignore
+++ b/templates/shell/.gitignore
diff --git a/shell/COPYING b/templates/shell/COPYING
index f288702..f288702 100644
--- a/shell/COPYING
+++ b/templates/shell/COPYING
diff --git a/shell/LICENSE.spdx b/templates/shell/LICENSE.spdx
index ecb7d83..ecb7d83 100644
--- a/shell/LICENSE.spdx
+++ b/templates/shell/LICENSE.spdx
diff --git a/templates/shell/cog.toml b/templates/shell/cog.toml
new file mode 100644
index 0000000..2b049c7
--- /dev/null
+++ b/templates/shell/cog.toml
@@ -0,0 +1,26 @@
+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 build",                                                          # verify the project builds
+  "flake_version_update --version v{{version}} --input-file flake.nix",
+]
+post_bump_hooks = [
+  "git push",
+  "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "NEWS.md"
+authors = []
+
+[bump_profiles]
+
+[packages]
diff --git a/shell/flake.nix b/templates/shell/flake.nix
index b699f25..b699f25 100644
--- a/shell/flake.nix
+++ b/templates/shell/flake.nix