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