Skip to content

Composit GitHub Action that use semantic-release to automates the whole package release workflow determining the next version number ad generating the release notes.

License

Notifications You must be signed in to change notification settings

meblabs/semantic-release-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Release Action

Composit GitHub Action that use semantic-release to automates the whole package release workflow determining the next version number ad generating the release notes.

How to use

  1. Install following npm packages:
npm i -D @semantic-release/commit-analyzer @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/release-notes-generator conventional-changelog-conventionalcommits
  1. Put config file .releaserc in main directory and if necessary customize it.

  2. Create workflow in your repo:

name: Release

on:
  push:
    branches: [release, staging]

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Semantic Release
        uses: meblabs/semantic-release-action@v1.0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          checkout: true

About

Composit GitHub Action that use semantic-release to automates the whole package release workflow determining the next version number ad generating the release notes.

Topics

Resources

License

Stars

Watchers

Forks