about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
l---------[-rw-r--r--]templates/awk/cog.toml25
l---------[-rw-r--r--]templates/c/cog.toml25
l---------[-rw-r--r--]templates/latex/academia/cog.toml25
l---------[-rw-r--r--]templates/latex/letter/cog.toml25
l---------[-rw-r--r--]templates/shell/cog.toml25
5 files changed, 5 insertions, 120 deletions
diff --git a/templates/awk/cog.toml b/templates/awk/cog.toml
index ea1b5e3..a71c6d3 100644..120000
--- a/templates/awk/cog.toml
+++ b/templates/awk/cog.toml
@@ -1,24 +1 @@
-tag_prefix = "v"
-branch_whitelist = ["main", "prime"]
-ignore_merge_commits = false
-
-pre_bump_hooks = [
-  "nix flake check",                                                    # verify the project builds
-  "./scripts/renew_copyright_header.sh",                                # update the license header in each file
-  "nix fmt",                                                            # format
-  "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file
-]
-post_bump_hooks = [
-  "git push",
-  "git push origin v{{version}}", # push the new tag to origin
-]
-
-[bump_profiles]
-
-[changelog]
-path = "NEWS.md"
-template = "remote"
-remote = "%INIT_REMOTE"
-repository = "%INIT_REPOSITORY"
-owner = "%INIT_OWNER"
-authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
+../../common/cog.toml
\ No newline at end of file
diff --git a/templates/c/cog.toml b/templates/c/cog.toml
index ccca764..a71c6d3 100644..120000
--- a/templates/c/cog.toml
+++ b/templates/c/cog.toml
@@ -1,24 +1 @@
-tag_prefix = "v"
-branch_whitelist = ["main", "prime"]
-ignore_merge_commits = false
-
-pre_bump_hooks = [
-  "nix flake check",                                                    # verify the project builds
-  "./scripts/renew_copyright_header.sh",                                # update the license header in each file
-  "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file
-  "nix fmt",                                                            # format
-]
-post_bump_hooks = [
-  "git push",
-  "git push origin v{{version}}", # push the new tag to origin
-]
-
-[bump_profiles]
-
-[changelog]
-path = "NEWS.md"
-template = "remote"
-remote = "%INIT_REMOTE"
-repository = "%INIT_REPOSITORY"
-owner = "%INIT_OWNER"
-authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
+../../common/cog.toml
\ No newline at end of file
diff --git a/templates/latex/academia/cog.toml b/templates/latex/academia/cog.toml
index ccca764..a5be520 100644..120000
--- a/templates/latex/academia/cog.toml
+++ b/templates/latex/academia/cog.toml
@@ -1,24 +1 @@
-tag_prefix = "v"
-branch_whitelist = ["main", "prime"]
-ignore_merge_commits = false
-
-pre_bump_hooks = [
-  "nix flake check",                                                    # verify the project builds
-  "./scripts/renew_copyright_header.sh",                                # update the license header in each file
-  "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file
-  "nix fmt",                                                            # format
-]
-post_bump_hooks = [
-  "git push",
-  "git push origin v{{version}}", # push the new tag to origin
-]
-
-[bump_profiles]
-
-[changelog]
-path = "NEWS.md"
-template = "remote"
-remote = "%INIT_REMOTE"
-repository = "%INIT_REPOSITORY"
-owner = "%INIT_OWNER"
-authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
+../../../common/cog.toml
\ No newline at end of file
diff --git a/templates/latex/letter/cog.toml b/templates/latex/letter/cog.toml
index ccca764..a5be520 100644..120000
--- a/templates/latex/letter/cog.toml
+++ b/templates/latex/letter/cog.toml
@@ -1,24 +1 @@
-tag_prefix = "v"
-branch_whitelist = ["main", "prime"]
-ignore_merge_commits = false
-
-pre_bump_hooks = [
-  "nix flake check",                                                    # verify the project builds
-  "./scripts/renew_copyright_header.sh",                                # update the license header in each file
-  "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file
-  "nix fmt",                                                            # format
-]
-post_bump_hooks = [
-  "git push",
-  "git push origin v{{version}}", # push the new tag to origin
-]
-
-[bump_profiles]
-
-[changelog]
-path = "NEWS.md"
-template = "remote"
-remote = "%INIT_REMOTE"
-repository = "%INIT_REPOSITORY"
-owner = "%INIT_OWNER"
-authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
+../../../common/cog.toml
\ No newline at end of file
diff --git a/templates/shell/cog.toml b/templates/shell/cog.toml
index ccca764..a71c6d3 100644..120000
--- a/templates/shell/cog.toml
+++ b/templates/shell/cog.toml
@@ -1,24 +1 @@
-tag_prefix = "v"
-branch_whitelist = ["main", "prime"]
-ignore_merge_commits = false
-
-pre_bump_hooks = [
-  "nix flake check",                                                    # verify the project builds
-  "./scripts/renew_copyright_header.sh",                                # update the license header in each file
-  "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file
-  "nix fmt",                                                            # format
-]
-post_bump_hooks = [
-  "git push",
-  "git push origin v{{version}}", # push the new tag to origin
-]
-
-[bump_profiles]
-
-[changelog]
-path = "NEWS.md"
-template = "remote"
-remote = "%INIT_REMOTE"
-repository = "%INIT_REPOSITORY"
-owner = "%INIT_OWNER"
-authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }]
+../../common/cog.toml
\ No newline at end of file