Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-draeger committed Jan 18, 2020
1 parent 72ae7b5 commit 246d9d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bump Semantic Version
# Increment Semantic Version

This is a GitHub action to increment a given semantic version by a given version fragment.
This is a GitHub action to bump a given semantic version, depending on a given version fragment.

## Inputs

Expand All @@ -10,7 +10,7 @@ This is a GitHub action to increment a given semantic version by a given version

### `version-fragment`

**Required** The versions fragment you want to increment.
**Required** The versions fragment you want to increment.
Possible options are [ major | feature | bug | alpha | beta | rc ]

## Outputs
Expand All @@ -23,9 +23,14 @@ The incremented version.

- name: Bump release version
id: bump_version
uses: actions/bump-semantic-version@v1
uses: christian-draeger/increment-semantic-version@1.0.0
with:
current-version: '2.11.7-alpha3'
version-fragment: 'feature'
- name: Do something with your bumped release version
run: echo ${{ steps.bump_version.outputs.next-version }}
run: echo ${{ steps.bump_version.outputs.next-version }}
# will print 2.12.0


# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bump Semantic Version
description: GitHub action to increment a given semantic version
name: Increment Semantic Version
description: Bump a given semantic version by a release type ( major | feature | bug | alpha | beta | rc ).
author: Christian Dräger
branding:
icon: 'tag'
Expand Down

0 comments on commit 246d9d6

Please sign in to comment.