Skip to content

Commit

Permalink
Try different method of using whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 17, 2024
1 parent 046f019 commit 1f4b189
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ 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_ARTIFACT_STORAGE_PATH=plugins/$PLUGIN_NAME/$STAGE/$PLUGIN_VERSION" >> $GITHUB_ENV
echo "INSTALLER_DELIVERABLE_STORAGE_PATH=plugins/$PLUGIN_NAME/$STAGE/$PLUGIN_VERSION" >> $GITHUB_ENV
echo "INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME $PLUGIN_VERSION Installer" >> $GITHUB_ENV
- name: Check Tag & Version
run: |
Expand Down Expand Up @@ -114,11 +114,8 @@ jobs:

- name: Upload to Cloud Storage
run: |
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 }}/"
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 }}/"
gcloud storage cp "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/*.dmg" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_DELIVERABLE_STORAGE_PATH }}/${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg"
gcloud storage cp "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/*.exe" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_DELIVERABLE_STORAGE_PATH }}/${{ env.INSTALLER_DELIVERABLE_NAME }}.exe"
- name: Prepare Body
run: |
Expand Down

0 comments on commit 1f4b189

Please sign in to comment.