diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 18:49:51 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 18:49:51 +0200 |
commit | e94e4304e9bfd64bdf934827ffdf0409c44d991c (patch) | |
tree | dc63e2dcc7a41bb2f7ac86ea08c815397cf0bc3a /cog.toml | |
parent | Style(treewide): Format (diff) | |
download | lpm-e94e4304e9bfd64bdf934827ffdf0409c44d991c.tar.gz lpm-e94e4304e9bfd64bdf934827ffdf0409c44d991c.zip |
chore(treewide): Update this project to today's standards.
Diffstat (limited to 'cog.toml')
-rw-r--r-- | cog.toml | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/cog.toml b/cog.toml index 2f2b2ce..7f53677 100644 --- a/cog.toml +++ b/cog.toml @@ -1,29 +1,26 @@ -from_latest_tag = false tag_prefix = "v" +branch_whitelist = ["main", "prime"] ignore_merge_commits = false -pre_package_bump_hooks = [] -post_package_bump_hooks = [] -branch_whitelist = [ - "prime", -] +[commit_types] pre_bump_hooks = [ - "nix build", # verify the project builds - "cargo set-version {{version}}", # bump version in Cargo.toml + "nix flake check", # verify the project builds + "cargo set-version {{version}}", # bump version in Cargo.toml + "cargo fmt", # format ] post_bump_hooks = [ - "git push", - "cargo publish", - "git push origin v{{version}}", # push the new tag to origin + "git push", + "cargo publish", + "git push origin v{{version}}", # push the new tag to origin ] -[commit_types] +[bump_profiles] [changelog] path = "NEWS.md" -authors = [] - -[bump_profiles] - -[packages] +template = "remote" +remote = "https://codeberg.org" +repository = "lpm" +owner = "soispha" +authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }] |