Skip to content

Commit a3e5be9

Browse files
committed
Merge branch 'main' of https://github.com/esbuild/esbuild.github.io into sync-9457baf7
2 parents ea5ff98 + 9457baf commit a3e5be9

File tree

5 files changed

+223
-222
lines changed

5 files changed

+223
-222
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ jobs:
2929
id: file-check
3030
continue-on-error: true
3131
run: |
32-
test -f 'dl/v${{ env.ESBUILD_VERSION }}'
32+
test -f "dl/v$ESBUILD_VERSION"
3333
3434
- if: steps.file-check.outcome == 'failure'
3535
name: Create "dl/v${{ env.ESBUILD_VERSION }}"
3636
run: |
37-
cat esbuild/dl.sh | sed 's/$ESBUILD_VERSION/${{ env.ESBUILD_VERSION }}/' > 'dl/v${{ env.ESBUILD_VERSION }}'
37+
cat esbuild/dl.sh | sed "s/\$ESBUILD_VERSION/$ESBUILD_VERSION/" > "dl/v$ESBUILD_VERSION"
3838
3939
- if: steps.file-check.outcome == 'failure'
4040
name: Update "dl/latest"
4141
run: |
42-
cat esbuild/dl.sh | sed 's/$ESBUILD_VERSION/${{ env.ESBUILD_VERSION }}/' > dl/latest
42+
cat esbuild/dl.sh | sed "s/\$ESBUILD_VERSION/$ESBUILD_VERSION/" > dl/latest
4343
4444
- if: steps.file-check.outcome == 'failure'
4545
name: Commit and push
4646
run: |
4747
git config --global user.name GitHub
4848
git config --global user.email '[email protected]'
4949
git status
50-
git add dl/latest 'dl/v${{ env.ESBUILD_VERSION }}'
51-
git commit -m 'publish download script for ${{ env.ESBUILD_VERSION }}'
50+
git add dl/latest "dl/v$ESBUILD_VERSION"
51+
git commit -m "publish download script for $ESBUILD_VERSION"
5252
git push origin gh-pages

0 commit comments

Comments
 (0)