Skip to content

Commit

Permalink
Use -next as the version suffix on automated binary builds
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 6, 2025
1 parent 78be47c commit bbc09f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ jobs:

- name: Check Pulsar Version
if: ${{ runner.os != 'Windows' }}
run: sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`-electron-next/g" package.json
run: sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`-next/g" package.json

- name: Check Pulsar Version - Windows
if: ${{ runner.os == 'Windows' }}
run: (Get-Content package.json) -replace '[0-9]*-dev', "$(date -u +%Y%m%d%H)-electron-next" | Set-Content -Path package.json
run: (Get-Content package.json) -replace '[0-9]*-dev', "$(date -u +%Y%m%d%H)-next" | Set-Content -Path package.json

- name: Reinstall Current Node-GYP NodeJS Headers
# Overwrite bad headers that get downloaded.
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
- name: Check Pulsar Version
if: ${{ runner.os != 'Windows' }}
run: sed -i -e "s/[0-9]*-dev/${TIMESTAMP}-electron-next/g" package.json
run: sed -i -e "s/[0-9]*-dev/${TIMESTAMP}-next/g" package.json
env:
TIMESTAMP: ${{needs.build.outputs.timestamp}}

Expand Down

0 comments on commit bbc09f0

Please sign in to comment.