Skip to content

Commit d25d91e

Browse files
committed
pipeline.yml
1 parent 65c73a3 commit d25d91e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
env:
2+
LC_ALL: 'en_US'
3+
steps:
4+
- block: ":rocket: Release!"
5+
prompt: "Fill out the details for release"
6+
if: 'build.message =~ /^release\$/i'
7+
fields:
8+
- select: "IS_SNAPSHOT_BUILD"
9+
key: "is-snapshot"
10+
hint: "Publish snapshot version"
11+
default: 'false'
12+
options:
13+
- label: "True"
14+
value: true
15+
- label: "False"
16+
value: false
17+
18+
- label: "Build"
19+
command: |
20+
nvm install
21+
npm install
22+
npm run test
23+
npm run build:ts
24+
if [[ $(echo $BUILDKITE_MESSAGE | tr '[:upper:]' '[:lower:]') =~ release ]];then
25+
npm run release
26+
fi

0 commit comments

Comments
 (0)