Skip to content

Commit

Permalink
publish pre-release on main ci (#923)
Browse files Browse the repository at this point in the history
* publish pre-release on main ci

* damn it tfs

* maybe this
  • Loading branch information
joaomoreno authored Dec 18, 2023
1 parent 1be75b2 commit 3fc1a9a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ extends:
testSteps:
- script: npm ci
- script: npm test
${{ if eq(parameters.nextVersion, 'none') }}:
${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
publishPackage: true
publishRequiresApproval: false
nextVersion: prerelease
tag: next
${{ elseif eq(parameters.nextVersion, 'none') }}:
publishPackage: false
${{ else }}:
publishPackage: true
Expand Down

0 comments on commit 3fc1a9a

Please sign in to comment.