Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix gh actions, PRO build and copyright year

Ilian Sapundshieva3a6b5baab2d
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 24267fae0..e6e23fa0e 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -2,32 +2,6 @@ on: pull_request
name: PR
jobs:
- # gitHubActionForNpm:
- # name: Validating Ubuntu
- # runs-on: ubuntu-latest
-
- # steps:
- # - name: Checking out default branch
- # uses: actions/checkout@v2
- # with:
- # submodules: true
- # - uses: actions/setup-node@v2
- # with:
- # node-version: '10.x'
- # - name: Install display server dependencies
- # run: |
- # sudo apt-get install xvfb libxtst6 libxss1 libgtk2.0-0 -y
- # - name: Install core libraries for chromium driver
- # run: |
- # sudo apt-get install libnss3 libasound2 libgconf-2-4 libgbm1 -y
- # - name: Running yarn install, prettier and type checks
- # run: |
- # yarn install --force --check-files --cache-folder .ycache
- # yarn prettier-check
- # yarn type-check
- # - name: Run Unit tests
- # run: yarn test-unit
-
e2eTestsWin:
name: Test Desktop App Windows
runs-on: windows-latest
@@ -35,17 +9,17 @@ jobs:
PD_PLATFORM: node
steps:
- name: Checking out default branch
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
submodules: true
- name: Checkout TestData
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
repository: tagspaces/testdata
path: tests/testdata
- - uses: actions/setup-node@v2
+ - uses: actions/setup-node@v4
with:
- node-version: '18.x'
+ node-version: '20.x'
- name: Running npm install, prettier and type checks
run: |
npm install
@@ -71,24 +45,24 @@ jobs:
PD_PLATFORM: web
steps:
- name: Checking out default branch
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
submodules: true
- - name: Checkout TagspacesPro
- uses: actions/checkout@v2
- with:
- ref: Create-EditedEntryContextProvider
- repository: tagspaces/tagspacespro
- token: ${{ secrets.CHECKOUT_TSPRO }}
- path: extensions/tagspacespro
+ # - name: Checkout TagspacesPro
+ # uses: actions/checkout@v4
+ # with:
+ # ref: Create-EditedEntryContextProvider
+ # repository: tagspaces/tagspacespro
+ # token: ${{ secrets.CHECKOUT_TSPRO }}
+ # path: extensions/tagspacespro
- name: Checkout TestData
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
repository: tagspaces/testdata
path: tests/testdata
- - uses: actions/setup-node@v2
+ - uses: actions/setup-node@v4
with:
- node-version: '18.x'
+ node-version: '20.x'
- name: Running npm install, prettier and type checks
run: |
npm install
diff --git a/.github/workflows/workflow_dispatch.yml b/.github/workflows/workflow_dispatch.yml
index ede2b555a..02ac90f3d 100644
--- a/.github/workflows/workflow_dispatch.yml
+++ b/.github/workflows/workflow_dispatch.yml
@@ -12,23 +12,23 @@ jobs:
runs-on: windows-latest
steps:
- name: Checking out default branch
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
submodules: true
- name: Checkout TestData
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
repository: tagspaces/testdata
path: tests/testdata
- - name: Checkout TagspacesPro
- uses: actions/checkout@v2
+ # - name: Checkout TagspacesPro
+ # uses: actions/checkout@v4
+ # with:
+ # repository: tagspaces/tagspacespro
+ # token: ${{ secrets.CHECKOUT_TSPRO }}
+ # path: extensions/tagspacespro
+ - uses: actions/setup-node@v4
with:
- repository: tagspaces/tagspacespro
- token: ${{ secrets.CHECKOUT_TSPRO }}
- path: extensions/tagspacespro
- - uses: actions/setup-node@v2
- with:
- node-version: '18.x'
+ node-version: '20.x'
- name: Running npm install, prettier and type checks
run: |
npm install
diff --git a/package.json b/package.json
index ef8845d0d..956359fe9 100644
--- a/package.json
+++ b/package.json
@@ -76,11 +76,11 @@
"package-android": "npm run build:cordova && cd cordova && npm install && cordova build --release android",
"package-ci": "npm run postinstall && npm run build && electron-builder --publish always",
"package-linux": "npm run install-ext-node-linux && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --linux --config resources/builder.json",
- "package-linux-pro": "npm run install-ext-node-linux && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --linux --config extensions/tagspacespro/resources/builder-pro.json",
+ "package-linux-pro": "npm run install-ext-node-linux && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --linux --config node_modules/@tagspacespro/tagspacespro/resources/builder-pro.json",
"package-mac": "npm run install-ext-node-mac && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --x64 --config resources/builder.json",
"package-mac-arm64": "npm run install-ext-node-mac-arm64 && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --arm64 --config resources/builder.json",
- "package-mac-arm64-pro": "npm run install-ext-node-mac-arm64 && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --arm64 --config extensions/tagspacespro/resources/builder-pro.json",
- "package-mac-pro": "npm run install-ext-node-mac && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --x64 --config extensions/tagspacespro/resources/builder-pro.json",
+ "package-mac-arm64-pro": "npm run install-ext-node-mac-arm64 && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --arm64 --config node_modules/@tagspacespro/tagspacespro/resources/builder-pro.json",
+ "package-mac-pro": "npm run install-ext-node-mac && ts-node ./.erb/scripts/clean.js && npm run build && electron-builder --mac --x64 --config node_modules/@tagspacespro/tagspacespro/resources/builder-pro.json",
"package-mac-pro-dev": "npx cross-env DEBUG_PROD=true && npm run package-mac-pro",
"package-pro": "rimraf app/node_modules && node scripts/enablepro.js && npm run install-ext-node && npm run build && npm run package-web-pro && npm run clean-maps && npm run package-win-pro && npm run package-linux-pro && npm run package-web-pro && npm run package-mac-pro",
"package-web": "npm run prepare-web && zip -r ../builds/tagspaces-web.zip web",
@@ -226,7 +226,7 @@
"uuid": "^9.0.0"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.3"
+ "@tagspacespro/tagspacespro": "5.0.4"
},
"devDependencies": {
"@electron/notarize": "^2.2.0",
diff --git a/resources/builder.json b/resources/builder.json
index 91565b5e0..af64908e2 100644
--- a/resources/builder.json
+++ b/resources/builder.json
@@ -8,7 +8,7 @@
],
"includeSubNodeModules": true,
"files": ["dist/", "node_modules/", "package.json", ".env", "extconfig.js"],
- "copyright": "Copyright © 2023 TagSpaces UG (haftungsbeschraenkt)",
+ "copyright": "Copyright © 2024 TagSpaces GmbH",
"artifactName": "${name}-${os}-${arch}-${version}.${ext}",
"dmg": {
"sign": false