Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Update GitHub Actions workflow and forge config for desktop app publishing
Ylber Gashi02fa61549413
diff --git a/.github/workflows/publish-app.yml b/.github/workflows/publish-app.ymlindex bebf2ce6..edaff216 100644--- a/.github/workflows/publish-app.yml+++ b/.github/workflows/publish-app.yml@@ -36,6 +36,7 @@ jobs:- name: Update package.json versionshell: bash+ working-directory: apps/desktoprun: |if [ "$RUNNER_OS" == "Windows" ]; thennpm version ${VERSION} --no-git-tag-version@@ -49,9 +50,11 @@ jobs:- name: Build Electron Appenv:GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+ working-directory: apps/desktoprun: npm run make- name: Publish Release to GitHubenv:GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}+ working-directory: apps/desktoprun: npm run publish\ No newline at end of filediff --git a/apps/desktop/forge.config.ts b/apps/desktop/forge.config.tsindex 9525dc8d..cab5f77d 100644--- a/apps/desktop/forge.config.ts+++ b/apps/desktop/forge.config.ts@@ -35,6 +35,22 @@ const config: ForgeConfig = {new MakerRpm({}),new MakerDeb({}),],+ publishers: [+ {+ name: '@electron-forge/publisher-github',+ config: {+ repository: {+ owner: 'colanode',+ name: 'colanode'+ },+ // Publishing options:+ // draft=true creates private release for review,+ // prerelease=true marks as beta, false=stable/production+ prerelease: false,+ draft: true+ }+ }+ ],plugins: [new VitePlugin({// `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.