Skip to content

Commit

Permalink
Improve-readme (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelRipoll23 authored Apr 7, 2024
1 parent 9831ed2 commit fc3634d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Bump versions with the help of semantic versioning and pull requests labels.
🚫 Improve code formatter
New tag name: v1.1.0

Voilà! That's your new tag name just for you.
Voilà! That's your next version.

## Usage

Expand All @@ -26,16 +26,14 @@ Voilà! That's your new tag name just for you.
uses: actions/[email protected]

- name: Get next version
uses: MiguelRipoll23/get-next-version@v2.1.2
uses: MiguelRipoll23/get-next-version@v3.0.0
id: get-next-version
with:
channel: ${{ inputs.channel }}

- name: Update version
run: |
npm version --no-git-tag-version ${{ env.TAG_NAME }}
npm version --no-git-tag-version ${{ env.NEXT_VERSION }}
env:
TAG_NAME: ${{ steps.get-next-version.outputs.next-version }}
NEXT_VERSION: ${{ steps.get-next-version.outputs.next-version }}

- name: Create pull request
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit fc3634d

Please sign in to comment.