forked from mob-sakai/UIEffect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.49 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
50
51
52
53
54
{
"name": "release-upm",
"description": "To release upm package, execute `npm run release` on bash.",
"version": "1.0.0",
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"git-snapshot": "^2.2.1",
"semantic-release": "^17.0.8"
},
"scripts": {
"release": "npm ci && cd `find Packages/*/.releaserc -exec dirname {} +` && npx semantic-release",
"release:debug": "npm run release -- --dry-run --no-ci --debug"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "preview",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "."
}
],
"@semantic-release/git",
[
"@semantic-release/github",
{
"assets": [
"*.tgz"
]
}
],
[
"@semantic-release/exec",
{
"verifyReleaseCmd": "test -d Samples && mv Samples Samples~ && rm -f Samples.meta || exit 0",
"publishCmd": "tar -xzvf *.tgz && git snapshot --prefix=package --branch=upm --remote=${options.repositoryUrl} --tag=${nextRelease.version} --message=\"${nextRelease.version}\n\n${nextRelease.notes}\""
}
]
]
}
}