https://github.com/bifravst/get-next-version-action
Determines the next release version for this repository
https://github.com/bifravst/get-next-version-action
github-action iot nrf-asset-tracker
Last synced: 3 months ago
JSON representation
Determines the next release version for this repository
- Host: GitHub
- URL: https://github.com/bifravst/get-next-version-action
- Owner: bifravst
- License: bsd-3-clause
- Created: 2021-01-26T15:47:29.000Z (over 5 years ago)
- Default Branch: saga
- Last Pushed: 2025-12-03T06:14:40.000Z (7 months ago)
- Last Synced: 2025-12-03T08:36:46.866Z (7 months ago)
- Topics: github-action, iot, nrf-asset-tracker
- Language: TypeScript
- Homepage: https://github.com/bifravst/get-next-version-action#readme
- Size: 14.1 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Get Next Release Action
[](https://github.com/bifravst/get-next-version-action/actions)
[](https://github.com/semantic-release/semantic-release)
[](https://renovatebot.com)
[](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional)
[](https://github.com/prettier/prettier/)
[](https://github.com/typescript-eslint/typescript-eslint)
Determines the next release version for the current repository, using
[`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer).
This is useful in cases where you need to know the version that is about to be
released, so it can be included as a version string in a build.
## Usage
```yaml
- uses: actions/checkout@v2
- name: Determine next release version
uses: bifravst/get-next-version-action@saga
id: version
with:
branch: saga
defaultVersion: "0.0.0-development"
```
`${{ steps.version.outputs.nextRelease }}` then contains the next release
version (or `0.0.0-development` if no new release would be created).
[Here](./.github/workflows/usage.yaml) is a minimal example.