Skip to content

Commit

Permalink
releasing desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
softartdev committed Nov 22, 2023
1 parent 7ba021a commit f2dca7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/desktop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
with:
java-version: 17
- name: Packaging
run: ./gradlew package
run: ./gradlew package #TODO packageRelease
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
desktop-compose-app/build/compose/binaries/main/deb
desktop-compose-app/build/compose/binaries/main/dmg
desktop-compose-app/build/compose/binaries/main/msi
desktop-compose-app/build/compose/binaries/main/deb/*.deb
desktop-compose-app/build/compose/binaries/main/dmg/*.dmg
desktop-compose-app/build/compose/binaries/main/msi/*.msi
- name: Archive ui-tests-output artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
Expand Down
3 changes: 2 additions & 1 deletion desktop-compose-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ compose {
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "com.softartdev.notedelight"
packageVersion = "1.0.4"
packageVersion = "1.0.5"
modules("java.sql")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class JdbcDatabaseHolder(props: Properties = Properties()) : DatabaseHolder() {
try {
NoteDb.Schema.create(driver)
} catch (sqlException: SQLException) {
Napier.e("Error creating database", sqlException)
Napier.e(message = sqlException.localizedMessage)
}
currentVersion = 1
} else if (NoteDb.Schema.version > currentVersion) {
Expand Down

0 comments on commit f2dca7d

Please sign in to comment.