forked from DEgITx/rats-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc.json
17 lines (17 loc) · 921 Bytes
/
.releaserc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "package.json"]
}],
["@semantic-release/exec", {
"publishCmd": "brew tap-new $USER/rpm && brew extract --version=4.17.0 rpm $USER/rpm && brew install $USER/rpm/[email protected] && brew install dpkg && brew install jq && brew install xz && npm run build -- --linux --win --mac && cd dist/win-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.x64.zip win-unpacked/ && cd win-ia32-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.win32.zip win-ia32-unpacked/"
}],
"@semantic-release/github"
],
"assets": "dist/*",
"npmPublish": false
}