From 08eb5c464906a29e9f5135e1fb11e872b93746b1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 1 Apr 2024 12:54:37 +0200 Subject: refactor(templates/unmaintained): Move out of the templates dir Otherwise, the `update_common_files` script will try to instantiate files in there, which is just useless noise. --- unmaintained_templates/markdown/cog.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 unmaintained_templates/markdown/cog.toml (limited to 'unmaintained_templates/markdown/cog.toml') diff --git a/unmaintained_templates/markdown/cog.toml b/unmaintained_templates/markdown/cog.toml new file mode 100644 index 0000000..2b049c7 --- /dev/null +++ b/unmaintained_templates/markdown/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] -- cgit 1.4.1