Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BoussonKarel committed Nov 15, 2022
1 parent 84bbd64 commit 7832547
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Read package.json
uses: dutscher/[email protected]
id: package-json-endpoint
- name: get npm version
uses: martinbeentjes/npm-get-version-action@main
id: package-version

- name: Show version number
run: |
BRANCH_NAME="${{ steps.package-json-endpoint.outputs.endpoint }}"
BRANCH_NAME="${{ steps.package-version.outputs.current-version }}"
VERSION=${BRANCH_NAME#release/}
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 7832547

Please sign in to comment.