Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 4.21.0 #350

Merged
merged 19 commits into from
Mar 21, 2024
Merged
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
96e73fc
Turn off ipc log transport between render and main process
ZIMkaRU Mar 8, 2024
8cbfc2e
Suppress err modal window if pdf gen failed
ZIMkaRU Mar 8, 2024
b4ed6fe
Improve pdf gen performance for big html templates
ZIMkaRU Mar 8, 2024
0c18267
Bump up electron minor version
ZIMkaRU Mar 8, 2024
ff7588f
Merge pull request #342 from ZIMkaRU/feature/improve-print-pdf-under-…
ezewer Mar 11, 2024
b4fca2a
Use test report generators without artifact opt
ZIMkaRU Mar 12, 2024
2e207ee
Use actions/upload-artifact v4 for uploading e2e test results
ZIMkaRU Mar 12, 2024
f7aa2df
Use actions/upload-artifact v4 for uploading test results
ZIMkaRU Mar 12, 2024
4c08582
Use e2e test report generators without artifact opt
ZIMkaRU Mar 12, 2024
b27bfce
Fix test result download permission
ZIMkaRU Mar 12, 2024
e21598a
Add workaround for error 'fatal: not a git repository' caused by a ca…
ZIMkaRU Mar 12, 2024
006ea5a
Merge pull request #344 from ZIMkaRU/feature/update-gh-actions-to-use…
ezewer Mar 13, 2024
dcd4a3b
Add ability to upload dist release if repo owner is customized
ZIMkaRU Mar 13, 2024
6890b92
Pass --publish never flag into electron-builder
ZIMkaRU Mar 14, 2024
863f0d1
Merge pull request #347 from ZIMkaRU/feature/add-ability-to-upload-di…
ezewer Mar 15, 2024
e8f1040
Bump version up to v4.21.0
ZIMkaRU Mar 20, 2024
511d3ca
Add changelog for v4.21.0
ZIMkaRU Mar 20, 2024
cf55e3d
Update sub-modules
ZIMkaRU Mar 20, 2024
f58ff4c
Merge pull request #348 from ZIMkaRU/feature/release-electron-app
ezewer Mar 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions .github/workflows/build-electron-app.yml
Original file line number Diff line number Diff line change
@@ -83,7 +83,12 @@ jobs:
retry_wait_seconds: 10
max_attempts: 3
retry_on: any
command: ./scripts/launch.sh -lwp
command: |
if [[ "${REPO_OWNER}" != "${{ github.repository_owner }}" ]]; then
./scripts/launch.sh -lw
else
./scripts/launch.sh -lwp
fi
- name: Zip Linux Unpacked build
run: zip -r dist/linux-unpacked.zip dist/linux-unpacked
- name: Upload Linux Unpacked build
@@ -98,6 +103,24 @@ jobs:
with:
name: win-unpacked
path: dist/win-unpacked.zip
- if: env.REPO_OWNER != github.repository_owner
name: Upload Linux Dist Release
uses: actions/upload-artifact@v4
with:
name: linux-dist-release
path: |
dist/*-linux.AppImage
dist/*-linux.AppImage.zip
dist/latest-linux.yml
- if: env.REPO_OWNER != github.repository_owner
name: Upload Win Dist Release
uses: actions/upload-artifact@v4
with:
name: win-dist-release
path: |
dist/*-win.exe
dist/*-win.exe.blockmap
dist/latest.yml
- name: Prepare cache folders
run: |
sudo chown -R $(id -u):$(id -g) ~/.cache/electron
@@ -178,14 +201,27 @@ jobs:
if [[ -z "${APPLE_APP_SPECIFIC_PASSWORD}" || "${NOTARIZE:-}" != "1" ]]; then unset APPLE_APP_SPECIFIC_PASSWORD; fi
if [[ -z "${CSC_LINK}" || "${NOTARIZE:-}" != "1" ]]; then unset CSC_LINK; fi
if [[ -z "${CSC_KEY_PASSWORD}" || "${NOTARIZE:-}" != "1" ]]; then unset CSC_KEY_PASSWORD; fi
./scripts/build-release.sh -mp
if [[ "${REPO_OWNER}" != "${{ github.repository_owner }}" ]]; then
./scripts/build-release.sh -m
else
./scripts/build-release.sh -mp
fi
- name: Zip Mac Unpacked build
run: zip -r dist/mac.zip dist/mac
- name: Upload Mac Unpacked build
uses: actions/upload-artifact@v4
with:
name: mac-unpacked
path: dist/mac.zip
- if: env.REPO_OWNER != github.repository_owner
name: Upload Mac Dist Release
uses: actions/upload-artifact@v4
with:
name: mac-dist-release
path: |
dist/*-mac.zip
dist/*-mac.zip.blockmap
dist/latest-mac.yml

linux-e2e-test-runner:
name: Linux E2E Test Runner
2 changes: 2 additions & 0 deletions scripts/build-release.sh
Original file line number Diff line number Diff line change
@@ -226,6 +226,8 @@ publishOption=""
if [ $isPublished == 1 ]; then
# Available: 'onTag', 'onTagOrDraft', 'always', 'never'
publishOption="--publish always"
else
publishOption="--publish never"
fi

rm -rf "$DIST_FOLDER/"*"$targetPlatform"*