Skip to content

Commit

Permalink
Update publish-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaul-1A authored Jul 20, 2023
1 parent 997eef2 commit 4dbaf51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/logs.zip`, Buffer.from(download.data));
- run: unzip logs.zip
- name: extract version from logs
run: echo nextVersionTag=$(find *_version.txt | xargs grep -iPo '(?<=nextVersionTag variable has been set with ).*$') >> "$GITHUB_OUTPUT"
id: newVersion
run: echo nextVersionTag=$(find *_version.txt | xargs grep -hiPo '(?<=nextVersionTag variable has been set with ).*$') >> "$GITHUB_OUTPUT"

publish-packages-pr:
uses: ./.github/workflows/publish.yml
Expand Down

0 comments on commit 4dbaf51

Please sign in to comment.