Skip to content

Commit

Permalink
Make docs more detailed about main branch support (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalh committed Aug 18, 2023
1 parent d92ca26 commit ca66f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ It might be useful when you want some branches to do *nothing*:
}

This version creator appends branch name to version unless you are on
*master* or *detached HEAD*:
*main*/*master* or *detached HEAD*:

decorate(version: '0.1.0', branch: 'master') == 0.1.0
decorate(version: '0.1.0', branch: 'my-special-branch') == 0.1.0-my-special-branch
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Basic Allegro setup

This is basic Allegro setup we use in most projects. Tag prefix is set to root project name
and each version has branch name appended (unless on master). This allows us on publishing snapshots
and each version has branch name appended (unless on *main*/*master*). This allows us on publishing snapshots
of branches that are ready for testing:

scmVersion {
Expand Down

0 comments on commit ca66f7a

Please sign in to comment.