-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adjust release configuration (#87)
- Loading branch information
Showing
5 changed files
with
10,147 additions
and
10,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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] | ||
|
Oops, something went wrong.