forked from twilio/twilio-webrtc.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release.json
42 lines (42 loc) · 1.24 KB
/
.release.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"type": "JavaScript",
"ci": "circleci",
"slug": "twilio/twilio-webrtc.js",
"env": {
"GH_REF": "github.com/twilio/twilio-webrtc.js.git"
},
"plans": {
"release": {
"env": {
"GIT_USER_NAME": "twilio-ci",
"GIT_USER_EMAIL": "[email protected]"
},
"commands": [
"node ./node_modules/.bin/release --bump ${CURRENT_VERSION} ${RELEASE_VERSION}",
"git config user.name \"${GIT_USER_NAME}\"",
"git config user.email \"${GIT_USER_EMAIL}\"",
"git add package.json",
"git commit -m \"${RELEASE_VERSION}\"",
"git tag ${RELEASE_VERSION}",
"git remote set-url origin \"https://${GH_TOKEN}@${GH_REF}\"",
"git rebase HEAD ${BRANCH}",
"git push origin ${BRANCH} --tags"
]
},
"development": {
"commands": [
"node ./node_modules/.bin/release --bump ${RELEASE_VERSION} ${DEVELOPMENT_VERSION}",
"git add package.json",
"git commit -m \"${DEVELOPMENT_VERSION}\"",
"git push origin ${BRANCH}"
]
},
"publish": {
"commands": [
"git checkout ${RELEASE_VERSION}",
"echo \"//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}\" >~/.npmrc",
"npm publish"
]
}
}
}