Skip to content

Commit 81202a4

Browse files
authored
Add release pipeline yaml (#302)
1 parent ebf9823 commit 81202a4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

azure-pipelines-release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
trigger: none
2+
pr: none
3+
4+
resources:
5+
pipelines:
6+
- pipeline: DurableJSCI
7+
project: "Azure Functions"
8+
source: azure-functions-durable-js
9+
branch: main
10+
11+
jobs:
12+
- job: Release
13+
pool:
14+
vmImage: "ubuntu-latest"
15+
steps:
16+
- task: NodeTool@0
17+
displayName: "Install Node.js"
18+
inputs:
19+
versionSpec: 14.x
20+
- download: DurableJSCI
21+
- script: mv *.tgz package.tgz
22+
displayName: "Rename tgz file" # because the publish command below requires an exact path
23+
workingDirectory: "$(Pipeline.Workspace)/DurableJSCI/drop"
24+
- task: Npm@1
25+
displayName: "npm publish"
26+
inputs:
27+
command: custom
28+
workingDir: "$(Pipeline.Workspace)/DurableJSCI/drop"
29+
verbose: true
30+
customCommand: "publish package.tgz"
31+
publishEndpoint: "NPM Durable Functions JS Publish"

0 commit comments

Comments
 (0)