Semantic app version increasing before building
A GitHub personal token must be created and set in the GH_TOKEN or GITHUB_TOKEN environment variable on your CI environment.
Setup tool with your CI/CD:
- yarn add ts-node semantic-release --dev
- Add tools folder into your project
- Add command to package.json that will launch increasing before build (check example)
- Run command from step 3 before build
- Build your application!
After step 4 new tag and release will be added to GitHub project page.