mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-24 13:00:14 +08:00
release v2.5.2
This commit is contained in:
@@ -7,6 +7,8 @@ on:
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "write"
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
jobs:
|
||||
build_and_release:
|
||||
@@ -40,6 +42,9 @@ jobs:
|
||||
git commit -am "release v${{ env.VERSION }}"
|
||||
git push
|
||||
|
||||
- run: |
|
||||
gh release create ${{github.ref_name}} -d -F CURRENT_CHANGE.md -t ${{github.ref_name}}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
@@ -55,13 +60,12 @@ jobs:
|
||||
- run: sed -i '' "s/0.0.0/${{ env.VERSION }}/g" safari/project.patch
|
||||
- run: npm run build:safari
|
||||
|
||||
- uses: marvinpinto/action-automatic-releases@v1.2.1
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: |
|
||||
build/chromium.zip
|
||||
build/firefox.zip
|
||||
build/safari.dmg
|
||||
build/chromium-without-katex-and-tiktoken.zip
|
||||
build/firefox-without-katex-and-tiktoken.zip
|
||||
- run: |
|
||||
gh release upload ${{github.ref_name}} build/chromium.zip
|
||||
gh release upload ${{github.ref_name}} build/firefox.zip
|
||||
gh release upload ${{github.ref_name}} build/safari.dmg
|
||||
gh release upload ${{github.ref_name}} build/chromium-without-katex-and-tiktoken.zip
|
||||
gh release upload ${{github.ref_name}} build/firefox-without-katex-and-tiktoken.zip
|
||||
|
||||
- run: |
|
||||
gh release edit ${{github.ref_name}} --draft=false
|
||||
|
||||
Reference in New Issue
Block a user