Skip to content

Commit

Permalink
Add default branch to semantic release, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgePlukov committed Jul 14, 2021
1 parent 4481c8d commit 0444925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release
on:
push:
branches:
- master
- main
- '[0-9]+.x'
- '[0-9]+.[0-9]+.x'
jobs:
Expand All @@ -21,6 +21,7 @@ jobs:
- name: Semantic Release
uses: BrightspaceUI/actions/semantic-release@master
with:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }}
NPM: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Contributions are welcome, please submit a pull request!

## Versioning & Releasing

> TL;DR: Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `master`. Read on for more details...
> TL;DR: Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `main`. Read on for more details...
The [sematic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/master/semantic-release) is called from the `release.yml` GitHub Action workflow to handle version changes and releasing.

Expand Down

0 comments on commit 0444925

Please sign in to comment.