release
This commit is contained in:
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"publish": [
|
"plugins": [
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/changelog",
|
"@semantic-release/changelog",
|
||||||
"@semantic-release/npm",
|
"@semantic-release/npm",
|
||||||
{
|
["@semantic-release/git", {
|
||||||
"path": "@semantic-release/git",
|
|
||||||
"assets": ["CHANGELOG.md", "package.json"]
|
"assets": ["CHANGELOG.md", "package.json"]
|
||||||
},
|
}],
|
||||||
{
|
["@semantic-release/exec", {
|
||||||
"path": "@semantic-release/exec",
|
"publishCmd": "brew update && brew unlink python@3.9 && brew install rpm && 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/"
|
||||||
"cmd": "brew update && brew install rpm && 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"
|
"@semantic-release/github"
|
||||||
],
|
],
|
||||||
"assets": "dist/*",
|
"assets": "dist/*",
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode9.0
|
osx_image: xcode11.6
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: "12"
|
node_js: "14"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
@ -20,7 +20,7 @@ deploy:
|
|||||||
provider: script
|
provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script:
|
script:
|
||||||
- npx travis-deploy-once "npx semantic-release@15"
|
- npx travis-deploy-once "npx semantic-release@17"
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
condition: $TRAVIS_COMMIT_MESSAGE = "release"
|
condition: $TRAVIS_COMMIT_MESSAGE = "release"
|
||||||
|
Reference in New Issue
Block a user