Skip to content

Commit

Permalink
bugfix: fix release files
Browse files Browse the repository at this point in the history
bugfix: fix release files
  • Loading branch information
twihno authored Sep 24, 2021
2 parents 47bb30f + 1a16193 commit d564940
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ jobs:
run: |
echo "RELEASE_TAG=${{ github.event.inputs.version }}" >> $GITHUB_ENV
echo "RELEASE_NAME=Version ${{ github.event.inputs.version }}" >> $GITHUB_ENV
echo "RELEASE_FILENAME=coral-app-${{ env.RELEASE_TAG }}.zip" >> $GITHUB_ENV
- name: Zip output files
run: |
cd dist/coral-app/
zip -r "coral-app-${{ env.RELEASE_TAG }}.zip" *
mv "coral-app-${{ env.RELEASE_TAG }}.zip" ../../
zip -r "${{ env.RELEASE_FILENAME }}" *
mv "${{ env.RELEASE_FILENAME }}" ../../
cd ../../
- name: Create GitHub Release
Expand All @@ -107,7 +108,7 @@ jobs:
tag_name: ${{ env.RELEASE_TAG }}
name: ${{ env.RELEASE_NAME }}
files: |
"coral-app-${{ env.RELEASE_TAG }}.zip"
${{ env.RELEASE_FILENAME }}
- name: Trigger version bump in documentation
uses: peter-evans/repository-dispatch@v1
Expand Down

0 comments on commit d564940

Please sign in to comment.