Skip to content

Commit

Permalink
Fallback to using hypens
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 17, 2024
1 parent 9619074 commit 7dc2a4c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
echo "STAGE_VERSION=$STAGE_VERSION" >> $GITHUB_ENV
echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_ENV
echo "INSTALLER_ARTIFACT_NAME=$PLUGIN_NAME-$PLUGIN_VERSION" >> $GITHUB_ENV
echo "INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME $PLUGIN_VERSION Installer" >> $GITHUB_ENV
echo "INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME-$PLUGIN_VERSION-Installer" >> $GITHUB_ENV
echo "INSTALLER_ARTIFACT_STORAGE_PATH=plugins/$PLUGIN_NAME/$STAGE/$PLUGIN_VERSION" >> $GITHUB_ENV
- name: Check Tag & Version
Expand Down Expand Up @@ -115,14 +115,12 @@ jobs:
- name: Upload to Cloud Storage
run: |
# MacOS
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/${{ env.INSTALLER_ARTIFACT_NAME }}.dmg" "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'"
ls
gcloud storage cp "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/${{ env.INSTALLER_ARTIFACT_NAME }}.dmg" "./${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg"
gcloud storage cp "*.dmg" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
# Windows
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/${{ env.INSTALLER_ARTIFACT_NAME }}.exe" "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'"
ls
gcloud storage cp "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/${{ env.INSTALLER_ARTIFACT_NAME }}.exe" "./${{ env.INSTALLER_DELIVERABLE_NAME }}.exe"
gcloud storage cp "*.exe" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
- name: Prepare Body
run: |
Expand Down Expand Up @@ -159,5 +157,5 @@ jobs:
draft: true
body_path: ./RELEASE.md
files: |
"./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'"
"./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'"
**/*.dmg
**/*.exe

0 comments on commit 7dc2a4c

Please sign in to comment.