Skip to content

Commit

Permalink
Merge pull request #99 from vQuagliaro/feature/add-main-as-default-re…
Browse files Browse the repository at this point in the history
…lease-branch

[release branches] add main as default release branch
  • Loading branch information
anothrNick committed Jan 11, 2021
2 parents eca2b69 + ede8343 commit 18284c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -75,7 +75,7 @@ _NOTE: set the fetch-depth for `actions/checkout@v2` to be sure you retrieve all
* Get latest tag
* Bump tag with minor version unless any commit message contains `#major` or `#patch`
* Pushes tag to github
* If triggered on your repo's default branch (`master` if unchanged), the bump version will be a release tag.
* If triggered on your repo's default branch (`master` or `main` if unchanged), the bump version will be a release tag.
* If triggered on any other branch, a prerelease will be generated, depending on the bump, starting with `*-<PRERELEASE_SUFFIX>.1`, `*-<PRERELEASE_SUFFIX>.2`, ...

### Credits
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -5,7 +5,7 @@ set -o pipefail
# config
default_semvar_bump=${DEFAULT_BUMP:-minor}
with_v=${WITH_V:-false}
release_branches=${RELEASE_BRANCHES:-master}
release_branches=${RELEASE_BRANCHES:-master,main}
custom_tag=${CUSTOM_TAG}
source=${SOURCE:-.}
dryrun=${DRY_RUN:-false}
Expand Down

0 comments on commit 18284c7

Please sign in to comment.