-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs(readme): fix usage section * test: only on push * increase version
- Loading branch information
1 parent
4add905
commit b494c3d
Showing
3 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: test | ||
on: [push, pull_request] | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# dev-version | ||
|
||
This action generates a new dev version number for a git branch, e.g. `1.0.0-dev.1` | ||
This action generates a new dev version number for a git branch, e.g. `1.0.0-dev.1` for all projects where the version is part of a json file, e.g. `package.json`. | ||
|
||
It accepts a json file path and a branch name as input. | ||
No release magic or analyzing changelogs is happening. | ||
|
@@ -45,14 +45,12 @@ The main part of the version, e.g. `1.0.0` will not be touched. It is more like | |
|
||
## Outputs | ||
|
||
### `version` | ||
|
||
The generated version number. | ||
- **version**: The generated version number. | ||
|
||
## Example usage | ||
|
||
``` | ||
uses: actions/dev-releases@v1 | ||
uses: actions/dev-[email protected] | ||
with: | ||
branch: feat/dev-branch | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters