Skip to content

Commit

Permalink
Fix missing constant replacement in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos committed Feb 9, 2021
1 parent 3a412c1 commit c50f0f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-published-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
sed -i -e "s~\"version\": \"0.0.0-dev\"~\"version\": \"${GITHUB_REF##*/}\"~" package.json
sed -i -e "s~<@cdnUrl@>~${CDN_URL}~" constants.js
sed -i -e "s~<@cdnUrl@>~${CDN_URL}~" constants.d.ts
sed -i -e "s~<@playgroundOrigin@>~${PLAYGROUND_ORIGIN}~" constants.js
sed -i -e "s~<@playgroundOrigin@>~${PLAYGROUND_ORIGIN}~" constants.d.ts
sed -i -e "s~<@playgroundConnectUrl@>~${PLAYGROUND_CONNECT_URL}~" constants.js
sed -i -e "s~<@playgroundConnectUrl@>~${PLAYGROUND_CONNECT_URL}~" constants.d.ts
- name: Publish pre-release to NPM
if: ${{ github.event.release.prerelease }}
Expand Down

0 comments on commit c50f0f3

Please sign in to comment.