Skip to content

Commit

Permalink
chore: get latest from all refs
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr authored Dec 1, 2024
1 parent ea4b2be commit 946be77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ docker run -it ghcr.io/rcwbr/release-it-docker-file-bumper:0.1.0

If using the [default configuration](#default-configurations), it is configured to bump versions in a plaintext `VERSION` file. By default, it will replace the entire contents of the file with the version number.

> :warning: Unlike the other images, the bumper release-it default configuration sets `git.commit` to true (as the version file bump must be committed) and `git.pushArgs` to `["tags"]` so as to push the tag only, not the commit back to the default branch.
> :warning: Unlike the other images, the bumper release-it default configuration sets `git.commit` true (as the version file bump must be committed) and `git.pushArgs` to `["tags"]` so as to push the tag only and not commit to the default branch. It also configures `git.getLatestTagFromAllRefs` true so that the latest tag may still be discovered despite not being associated with a commit on the default branch.
### Default configurations

Expand Down
1 change: 1 addition & 0 deletions file-bumper/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"git": {
"getLatestTagFromAllRefs": true,
"commit": true,
"tag": true,
"pushArgs": ["--tags"],
Expand Down

0 comments on commit 946be77

Please sign in to comment.