Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,17 @@ To tell `cog` to pick only version starting with a prefix set this in your `cog.
tag_prefix = "v"
```

full tag including the prefix can be access in configuration file with {{version_tag}}

```toml
tag_prefix = "v"


post_bump_hooks = [
"git push origin {{version_tag}}"
]
```

## Make Cocogitto skip CI CD

Cocogitto will create a commit when performing a bump, which can trigger your CI/CD if you have one. Some CI/CD tools support a "skip_ci" string that you can add to a commit which will skip the pipeline execution. To do so with `cog`, you can use the `skip_ci` configuration in your `cog.toml` file or the `cog bump --skip-ci <string>` option to add a "skip_ci" pattern your CI/CD tool supports.
Expand Down