publish to snapcraft.io

This commit is contained in:
Jan Prochazka
2021-01-19 20:43:15 +01:00
parent ffbcbc6d06
commit e1ad90da49
3 changed files with 22 additions and 8 deletions

View File

@@ -38,6 +38,9 @@ jobs:
- name: fillNativeModulesElectron - name: fillNativeModulesElectron
run: | run: |
yarn fillNativeModulesElectron yarn fillNativeModulesElectron
- name: Install Snapcraft
if: matrix.os == 'ubuntu-18.04'
uses: samuelmeuli/action-snapcraft@v1
- name: Publish - name: Publish
run: | run: |
yarn run build:app yarn run build:app
@@ -50,6 +53,13 @@ jobs:
run: | run: |
yarn generatePadFile yarn generatePadFile
- name: publishSnap
if: matrix.os == 'ubuntu-18.04'
run: |
echo ${{ secrets.WINCERT_CERTIFICATE }} > snapcraft.login
snapcraft login --with snapcraft.login
snapcraft upload --release=beta dist/*.snap
- name: Copy artifacts - name: Copy artifacts
run: | run: |
mkdir artifacts mkdir artifacts
@@ -63,6 +73,7 @@ jobs:
mv app/dist/*.AppImage artifacts/ || true mv app/dist/*.AppImage artifacts/ || true
mv app/dist/*.deb artifacts/ || true mv app/dist/*.deb artifacts/ || true
mv app/dist/*.dmg artifacts/ || true mv app/dist/*.dmg artifacts/ || true
mv app/dist/*.snap artifacts/dbgate-latest.snap || true
# - name: Copy artifacts Linux, MacOs # - name: Copy artifacts Linux, MacOs
# if: matrix.os != 'windows-2016' # if: matrix.os != 'windows-2016'

View File

@@ -139,15 +139,16 @@ SOFTWARE.</EULA>
<Char_Desc_2000> <Char_Desc_2000>
Modern cross-platform data manipulation tool for Microsoft SQL Server, PostgreSQL and MySQL Modern cross-platform data manipulation tool for Microsoft SQL Server, PostgreSQL and MySQL
Main features: Main features:
Quick database browser. Quick database browser
Database editor, view and and views, stored procedures, functions, triggers, table relations. Database editor, view and and views, stored procedures, functions, triggers, table relations
Export, import - CSV, MS Excel Export, import - CSV, MS Excel
Form view for tables with many columns
Query designer Query designer
Advanced data filtering. Advanced data filtering
Export, import. Export, import
JavaScript data scripting. JavaScript data scripting
Run queries, code completion. Run queries, code completion
Display data from referenced tables. Display data from referenced tables
Create charts, supports for active charts - are refreshed when underlying source is changed Create charts, supports for active charts - are refreshed when underlying source is changed
</Char_Desc_2000> </Char_Desc_2000>
</English> </English>

View File

@@ -3,6 +3,7 @@
"version": "3.8.36", "version": "3.8.36",
"private": true, "private": true,
"author": "Jan Prochazka <jenasoft.database@gmail.com>", "author": "Jan Prochazka <jenasoft.database@gmail.com>",
"description": "Opensource database administration tool",
"dependencies": { "dependencies": {
"electron-log": "^4.3.1", "electron-log": "^4.3.1",
"electron-store": "^5.1.1", "electron-store": "^5.1.1",
@@ -25,7 +26,8 @@
"linux": { "linux": {
"target": [ "target": [
"AppImage", "AppImage",
"deb" "deb",
"snap"
], ],
"icon": "icon.png", "icon": "icon.png",
"artifactName": "dbgate-linux-${version}.${ext}", "artifactName": "dbgate-linux-${version}.${ext}",