Skip to content

Commit

Permalink
disable pushing autoupdate file on s3 for testing purposes
Browse files Browse the repository at this point in the history
also set prerelease: true for the github release, so that we can perform tests
  • Loading branch information
umbynos committed Jun 6, 2023
1 parent 9fde95c commit 61373da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ jobs:
release_name: ${{ github.ref }}
body: ${{ steps.release_body.outputs.RBODY}}
draft: false
prerelease: ${{ needs.build.outputs.prerelease }}
prerelease: true

- name: Upload release files on Github
uses: svenstaro/upload-release-action@v2
Expand All @@ -586,8 +586,8 @@ jobs:
run: aws s3 sync release/ s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.TARGET }}
if: ${{ needs.build.outputs.prerelease != 'true' }}

- name: Update version file (used by frontend to trigger autoupdate and create filename)
run: |
echo {\"Version\": \"${GITHUB_REF##*/}\"} > /tmp/agent-version.json
aws s3 cp /tmp/agent-version.json s3://${{ env.VERSION_TARGET }}
if: ${{ needs.build.outputs.prerelease != 'true' }}
# - name: Update version file (used by frontend to trigger autoupdate and create filename)
# run: |
# echo {\"Version\": \"${GITHUB_REF##*/}\"} > /tmp/agent-version.json
# aws s3 cp /tmp/agent-version.json s3://${{ env.VERSION_TARGET }}
# if: ${{ needs.build.outputs.prerelease != 'true' }}

0 comments on commit 61373da

Please sign in to comment.