Skip to content

Commit

Permalink
Merge master into release/2
Browse files Browse the repository at this point in the history
--HG--
branch : release
  • Loading branch information
kazssym committed May 8, 2020
2 parents 8118359 + b64fad2 commit 3cb1d22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any warranty.
---
variables:
distName: redirect-script-2.0.0
trigger:
- master
- release/*
Expand All @@ -27,7 +29,7 @@ stages:
- bash: |
npm pack || exit $?
mkdir -p _dist
mv *.tgz _dist/
mv '$(distName)'.tgz _dist/
displayName: Make package archive
- publish: _dist
artifact: dist
Expand All @@ -47,5 +49,5 @@ stages:
- task: Npm@1
inputs:
command: custom
customCommand: publish $(Agent.BuildDirectory)/dist/*.tgz
customCommand: publish $(Agent.BuildDirectory)/dist/$(distName).tgz
customEndpoint: npmjs

0 comments on commit 3cb1d22

Please sign in to comment.