-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
executable file
·49 lines (49 loc) · 1.33 KB
/
package.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
43
44
45
46
47
48
49
{
"name": "com.coffee.rotate-me",
"displayName": "Rotate Me",
"description": "Rotate the object!",
"version": "0.1.0",
"unity": "2018.3",
"license": "MIT",
"src": "Assets/RotateMe",
"dependencies": {},
"devDependencies": {
"@semantic-release/changelog": "*",
"@semantic-release/exec": "*",
"@semantic-release/git": "*",
"semantic-release": "^16.0.0-beta.22"
},
"scripts": {
"release": "SRC=$npm_package_src REV=`git rev-parse HEAD` BRANCH=`git rev-parse --abbrev-ref @` semantic-release"
},
"release": {
"ci": false,
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "git subtree split --rejoin --prefix=$SRC -b upm && git checkout upm",
"prepareCmd": "git add CHANGELOG.md package.json && git commit -m 'chore(release): ${nextRelease.version}\n\n${nextRelease.notes}'",
"successCmd": "git checkout -f -B $BRANCH && git subtree merge --prefix=$SRC upm -m 'Release ${nextRelease.version}'",
"failCmd": "git checkout -f -B $BRANCH && git reset --hard $REV"
}
],
[
"@semantic-release/github",
{
"failComment": false
}
]
]
}
}