Skip to content

Commit

Permalink
refactor: build release
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Nov 14, 2023
1 parent 5f7d9ce commit 31fc916
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
run: |
touch ${{ env.RELEASE_NOTES_PATH }}
cat CHANGELOG.md | sed -e '/./{H;$!d;}' -e "x;/##\ Version\ ${{ steps.parse_tag.outputs.version }}/"'!d;' >> ${{ env.RELEASE_NOTES_PATH }}
shell: bash

- name: Create release
id: create_release
Expand All @@ -121,9 +122,16 @@ jobs:
- name: Generate Env file
run: |
touch .env
echo CLOUD_TYPE=1 >> .env
echo CLOUD_TYPE=${{ secrets.CLOUD_TYPE }} .env
${{ if eq(matrix.environment, 'SUPABASE') }}
echo SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env
echo SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }} >> .env
${{ endif }}
${{ if eq(matrix.environment, 'APPFLOWY_CLOUD') }}
echo APPFLOWY_CLOUD_BASE_URL=${{ secrets.APPFLOWY_CLOUD_BASE_URL }} >> .env
echo APPFLOWY_CLOUD_WS_BASE_URL=${{ secrets.APPFLOWY_CLOUD_WS_BASE_URL }} >> .env
echo APPFLOWY_CLOUD_GOTRUE_URL=${{ secrets.APPFLOWY_CLOUD_GOTRUE_URL }} >> .env
${{ endif }}
working-directory: frontend/appflowy_flutter

build-for-windows:
Expand Down

0 comments on commit 31fc916

Please sign in to comment.