Skip to content

Commit

Permalink
Set up pipeline for publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Dec 19, 2024
1 parent ba07386 commit 362945d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions common/config/azure-pipelines/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ extends:

- template: /common/config/azure-pipelines/templates/build.yaml@self

- template: /common/config/azure-pipelines/templates/bump-versions.yaml@self
parameters:
VersionPolicyName: noRush
BranchName: $(SourceBranch)
# - template: /common/config/azure-pipelines/templates/bump-versions.yaml@self
# parameters:
# VersionPolicyName: noRush
# BranchName: $(SourceBranch)

- script: 'node libraries/rush-lib/scripts/plugins-prepublish.js'
displayName: 'Prepublish workaround for rush-lib'
Expand Down
4 changes: 2 additions & 2 deletions common/config/azure-pipelines/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ steps:
- script: 'git config --local user.name Rushbot'
displayName: 'git config name'

- script: 'node common/scripts/install-run-rush.js change --verify'
displayName: 'Verify Change Logs'
# - script: 'node common/scripts/install-run-rush.js change --verify'
# displayName: 'Verify Change Logs'

- script: 'node common/scripts/install-run-rush.js install'
displayName: 'Rush Install'
Expand Down
2 changes: 1 addition & 1 deletion common/config/azure-pipelines/templates/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
default: $(Build.SourceBranchName)

steps:
- script: 'node common/scripts/install-run-rush.js publish --apply --publish --include-all --target-branch ${{ parameters.BranchName }} --add-commit-details --set-access-level public'
- script: 'node common/scripts/install-run-rush.js publish --apply --publish --include-all --target-branch release/eslint-pr5055 --add-commit-details --set-access-level public --tag pr5055'
displayName: 'Rush Publish (Policy: ${{ parameters.VersionPolicyName }})'
env:
NPM_AUTH_TOKEN: $(npmToken)

0 comments on commit 362945d

Please sign in to comment.