Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Nov 16, 2024
2 parents 32028d0 + c07b25c commit d115d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ jobs:
if: "!contains(github.ref_name, 'beta')"
shell: bash
run: |
echo "$PWD"
echo "{\"version\": \"$GITHUB_REF_NAME\", \"commit\": \"$GITHUB_SHA_SHORT\"}" > latest.json
cat latest.json
- name: Get B2 client
if: "!contains(github.ref_name, 'beta')"
Expand All @@ -195,7 +197,7 @@ jobs:
run: |
ls -la release
b2 authorize-account ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }} > /dev/null 2>&1
b2 sync --replace-newer --no-progress latest.json b2://${{ secrets.PUBLISH_BUCKET }}/bin/server-installer/
b2 file upload --no-progress ${{ secrets.PUBLISH_BUCKET }} latest.json /bin/server-installer/
b2 sync --replace-newer --no-progress release b2://${{ secrets.PUBLISH_BUCKET }}/bin/server-installer/latest/
b2 sync --replace-newer --no-progress release b2://${{ secrets.PUBLISH_BUCKET }}/bin/server-installer/$GITHUB_REF_NAME/
Expand Down

0 comments on commit d115d12

Please sign in to comment.