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
Fix windows version update workflow step (#51)
Hakan Shehuc0507e40e654
diff --git a/.github/workflows/desktop-build-and-publish.yml b/.github/workflows/desktop-build-and-publish.ymlindex f56ff71c..906570f5 100644--- a/.github/workflows/desktop-build-and-publish.yml+++ b/.github/workflows/desktop-build-and-publish.yml@@ -38,8 +38,10 @@ jobs:echo "VERSION=$version" >> $env:GITHUB_ENV- name: Set version and commit SHA into build.ts+ shell: pwshrun: |- cat <<EOF > ./packages/core/src/types/build.ts+ $content = @'+// This file is auto-generated during CI/CDconst VERSION = "${{ env.VERSION }}";const SHA = "${{ github.sha }}";@@ -48,7 +50,9 @@ jobs:version: VERSION,sha: SHA};- EOF++ '@+ Set-Content -Path "./packages/core/src/types/build.ts" -Value $content- name: Decode certificaterun: |@@ -113,6 +117,19 @@ jobs:- name: Extract version from tagrun: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV+ - name: Set version and commit SHA into build.ts+ run: |+ cat <<EOF > ./packages/core/src/types/build.ts+ // This file is auto-generated during CI/CD+ const VERSION = "${{ env.VERSION }}";+ const SHA = "${{ github.sha }}";++ export const build = {+ version: VERSION,+ sha: SHA+ };+ EOF+- name: Decode and Import macOS Certificaterun: |# Decode the base64 encoded certificate