Skip to content

Commit

Permalink
fix: adjust release configuration (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Mar 25, 2020
1 parent 808b09c commit 6d67f90
Show file tree
Hide file tree
Showing 5 changed files with 10,147 additions and 10,693 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
run: npm run build
- name: Get version from package.json before release step
id: initversion
run: echo "::set-output name=version::$(npm run get-version --silent)"
working-directory: ./library
run: echo "::set-output name=version::$(npm run get-lib-version --silent)"
- name: Release to NPM and GitHub
id: release
env:
Expand All @@ -38,11 +37,9 @@ jobs:
GIT_COMMITTER_NAME: asyncapi-bot
GIT_COMMITTER_EMAIL: [email protected]
run: npm run release
working-directory: ./library
- name: Get version from package.json after release step
id: extractver
run: echo "::set-output name=version::$(npm run get-version --silent)"
working-directory: ./library
run: echo "::set-output name=version::$(npm run get-lib-version --silent)"
- name: Create Pull Request with updated package files
if: steps.initversion.outputs.version != steps.extractver.outputs.version
uses: peter-evans/[email protected]
Expand Down
Loading

0 comments on commit 6d67f90

Please sign in to comment.