diff --git a/README.md b/README.md index 2a44abd0..6566a28f 100755 --- a/README.md +++ b/README.md @@ -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 `*-.1`, `*-.2`, ... ### Credits diff --git a/entrypoint.sh b/entrypoint.sh index 912ae82c..b406d6b2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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}