Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
* docs(readme): fix usage section

* test: only on push

* increase version
  • Loading branch information
KillerCodeMonkey authored Jan 24, 2020
1 parent 4add905 commit b494c3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: test
on: [push, pull_request]
on: [push]

jobs:
test:
Expand Down
8 changes: 3 additions & 5 deletions README.md
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.
Expand Down Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dev-version-action",
"version": "0.1.1",
"version": "0.1.2",
"main": "index.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit b494c3d

Please sign in to comment.