release
This commit is contained in:
parent
c1f81e846b
commit
a84ef10f9f
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -35,6 +35,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y xvfb g++-multilib
|
sudo apt-get install -y xvfb g++-multilib
|
||||||
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
|
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
|
||||||
|
- name: Prepare python3.10
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"assets": ["CHANGELOG.md", "package.json"]
|
"assets": ["CHANGELOG.md", "package.json"]
|
||||||
}],
|
}],
|
||||||
["@semantic-release/exec", {
|
["@semantic-release/exec", {
|
||||||
"publishCmd": "brew install rpm@4.17.0 && 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/"
|
"publishCmd": "brew tap-new $USER/rpm && brew extract --version=4.17.0 rpm $USER/rpm && brew install $USER/rpm/rpm@4.17.0 && 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"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user