Skip to content

Commit ab5e70b

Browse files
committed
chore: bump to 1.0.0
1 parent fbe6b99 commit ab5e70b

File tree

56 files changed

+205
-479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+205
-479
lines changed

.github/workflows/build-android.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ on:
1616
- non-release
1717
default: "non-release"
1818
git-ref:
19-
description: "Build from Git Ref(master)"
19+
description: "Build from Git Ref"
2020
required: true
21-
default: "master"
21+
default: "version/file"
2222
enable-file-sync-production:
2323
description: 'File sync production mode'
2424
type: boolean
@@ -43,7 +43,7 @@ on:
4343
env:
4444
CLOJURE_VERSION: '1.11.1.1413'
4545
NODE_VERSION: '22'
46-
JAVA_VERSION: '21'
46+
JAVA_VERSION: '17'
4747

4848
jobs:
4949
build-apk:
@@ -108,15 +108,15 @@ jobs:
108108
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ inputs.enable-file-sync-production || github.event.inputs.enable-file-sync-production || inputs.build-target == '' }}" >> $GITHUB_ENV
109109
110110
- name: Compile CLJS - app variant, use es6 instead of es-next
111-
run: yarn install && yarn release-mobile
111+
run: yarn install && yarn release-app
112112
env:
113113
LOGSEQ_SENTRY_DSN: ${{ secrets.LOGSEQ_SENTRY_DSN }}
114114
LOGSEQ_POSTHOG_TOKEN: ${{ secrets.LOGSEQ_POSTHOG_TOKEN }}
115115

116116
- name: Upload Sentry Sourcemaps (beta only)
117-
# if: ${{ github.repository == 'logseq/logseq' && (inputs.build-target == 'beta' || github.event.inputs.build-target == 'beta') }}
117+
if: ${{ github.repository == 'logseq/logseq' && (inputs.build-target == 'beta' || github.event.inputs.build-target == 'beta') }}
118118
run: |
119-
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.58.4 bash
119+
curl -sL https://sentry.io/get-cli/ | bash
120120
release_name="logseq-android@${{ steps.ref.outputs.version }}"
121121
sentry-cli releases new "${release_name}"
122122
sentry-cli releases files "${release_name}" upload-sourcemaps --ext map --ext js ./static/js --url-prefix '~/static/js'
@@ -126,6 +126,15 @@ jobs:
126126
SENTRY_ORG: logseq
127127
SENTRY_PROJECT: logseq
128128

129+
- name: Prepare public Directory
130+
run: |
131+
cp -r static public/
132+
rm -rvf public/static/js/publishing
133+
rm -rvf public/static/js/*.js.map || true
134+
rm -rvf public/static/*.*
135+
rm -rvf public/static/ios
136+
rm -rvf android/app/src/main/assets/public || true
137+
129138
- name: Sync public to Android Project
130139
run: npx cap sync android
131140

.github/workflows/build-desktop-release.yml

Lines changed: 5 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
working-directory: ./static
154154

155155
- name: Upload Sentry Sourcemaps (beta only)
156-
# if: ${{ github.repository == 'logseq/logseq' && github.event_name == 'workflow_dispatch' && github.event.inputs.build-target == 'beta' }}
156+
if: ${{ github.repository == 'logseq/logseq' && github.event_name == 'workflow_dispatch' && github.event.inputs.build-target == 'beta' }}
157157
run: |
158158
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.58.4 bash
159159
release_name="logseq@${{ steps.ref.outputs.version }}"
@@ -339,75 +339,6 @@ jobs:
339339
name: logseq-win64-builds
340340
path: builds
341341

342-
build-windows-arm64:
343-
runs-on: windows-latest
344-
needs: [ compile-cljs ]
345-
steps:
346-
- name: Download The Static Asset
347-
uses: actions/download-artifact@v4
348-
with:
349-
name: static
350-
path: static
351-
352-
- name: Retrieve tag version
353-
id: ref
354-
run: echo "version=$(cat ./static/VERSION)" >> $env:GITHUB_OUTPUT
355-
356-
- name: Install Node.js, NPM and Yarn
357-
uses: actions/setup-node@v4
358-
with:
359-
node-version: ${{ env.NODE_VERSION }}
360-
361-
# - name: Cache Node Modules
362-
# uses: actions/cache@v4
363-
# with:
364-
# path: |
365-
# **/node_modules
366-
# key: ${{ runner.os }}-node-modules
367-
368-
- name: Deps Electron app
369-
run: yarn install
370-
working-directory: ./static
371-
372-
- name: Fix Deps Electron app
373-
run: yarn run postinstall
374-
working-directory: ./static/node_modules/dugite/
375-
376-
- name: Build/Release Electron app
377-
run: yarn electron:make-win-arm64
378-
working-directory: ./static
379-
env:
380-
DEBUG: electron-packager
381-
382-
- name: Save Artifact
383-
run: |
384-
mkdir builds
385-
mv static\out\make\squirrel.windows\arm64\*.nupkg builds\Logseq-win-arm64-${{ steps.ref.outputs.version }}-full.nupkg
386-
mv static\out\make\zip\win32\arm64\*.exe builds\Logseq-win-arm64-${{ steps.ref.outputs.version }}.exe
387-
mv static\out\make\wix\arm64\Logseq.msi builds\Logseq-win-arm64-${{ steps.ref.outputs.version }}.msi
388-
mv static\out\make\squirrel.windows\arm64\RELEASES builds\RELEASES
389-
390-
- name: Sign
391-
uses: azure/[email protected]
392-
with:
393-
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
394-
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
395-
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
396-
endpoint: https://eus.codesigning.azure.net/
397-
trusted-signing-account-name: logseqwin
398-
certificate-profile-name: Logseq
399-
files-folder: builds
400-
files-folder-filter: exe,msi
401-
file-digest: SHA256
402-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
403-
timestamp-digest: SHA256
404-
405-
- name: Upload Artifact
406-
uses: actions/upload-artifact@v4
407-
with:
408-
name: logseq-win-arm64-builds
409-
path: builds
410-
411342
build-macos-x64:
412343
needs: [ compile-cljs ]
413344
runs-on: macos-15-intel
@@ -451,7 +382,7 @@ jobs:
451382
${{ runner.os }}-yarn-
452383
453384
- name: Signing By Apple Developer ID
454-
if: ${{ github.repository == 'logseq/logseq' }}
385+
if: ${{ github.repository == 'logseq/og' }}
455386
uses: apple-actions/import-codesign-certs@v1
456387
with:
457388
p12-file-base64: ${{ secrets.APPLE_CERTIFICATES_P12 }}
@@ -524,7 +455,7 @@ jobs:
524455
python-version: '3.11'
525456

526457
- name: Signing By Apple Developer ID
527-
if: ${{ github.repository == 'logseq/logseq' }}
458+
if: ${{ github.repository == 'logseq/og' }}
528459
uses: apple-actions/import-codesign-certs@v1
529460
with:
530461
p12-file-base64: ${{ secrets.APPLE_CERTIFICATES_P12 }}
@@ -576,7 +507,7 @@ jobs:
576507

577508
nightly-release:
578509
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-target == 'nightly' }}
579-
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, build-windows-x64, build-windows-arm64 ]
510+
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, build-windows-x64 ]
580511
runs-on: ubuntu-22.04
581512
steps:
582513
- name: Download MacOS x64 Artifacts
@@ -656,7 +587,7 @@ jobs:
656587
release:
657588
# NOTE: For now, we only have beta channel to be released on Github
658589
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.build-target == 'beta' }}
659-
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, build-windows-x64, build-windows-arm64]
590+
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, build-windows-x64]
660591
runs-on: ubuntu-22.04
661592
steps:
662593
- name: Download MacOS x64 Artifacts

.github/workflows/build-ios-release.yml

Lines changed: 0 additions & 106 deletions
This file was deleted.

.github/workflows/build-plugin-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050
git config user.name "github-actions[bot]"
5151
git config user.email "github-actions[bot]@users.noreply.github.com"
5252
git add .
53-
git diff --staged --quiet || git commit -m "chore: sync plugin docs from logseq/logseq@${{ github.sha }}"
53+
git diff --staged --quiet || git commit -m "chore: sync plugin docs from logseq/og@${{ github.sha }}"
5454
git push

.github/workflows/deploy-db-test-pages.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.github/workflows/stale-issues.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- **Blog**: https://blog.logseq.com
4747
- **Docs**: https://docs.logseq.com
4848
49-
Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/logseq/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/logseq/issues/new/choose). We always welcome pull requests too!
49+
Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/og/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/og/issues/new/choose). We always welcome pull requests too!
5050
5151
- name: '🧹 Close stale awaiting response issues'
5252
id: awaiting_issues
@@ -74,5 +74,4 @@ jobs:
7474
- **Blog**: https://blog.logseq.com
7575
- **Docs**: https://docs.logseq.com
7676
77-
Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/logseq/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/logseq/issues/new/choose). We always welcome pull requests too!
78-
77+
Thanks for your contributions to Logseq! If you have any other [**issues**](https://github.com/logseq/og/issues/new/choose) or [**feature requests**](https://discuss.logseq.com/c/feedback/feature-requests/), please don't hesitate to [let us know](https://github.com/logseq/og/issues/new/choose). We always welcome pull requests too!

0 commit comments

Comments
 (0)