Mark continunous builds as prerelease

pull/853/head^2
probonopd 1 day ago committed by GitHub
parent 04c5ce3818
commit 9fc4ea90cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 11
      .github/workflows/build.yml

@ -144,9 +144,12 @@ jobs:
with:
name: combined-artifact
path: MiniDexed_${GITHUB_RUN_NUMBER}_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip
- name: Upload to GitHub Releases (only from main branch)
- name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }}
run: |
set -ex
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash ./upload.sh MiniDexed_${GITHUB_RUN_NUMBER}_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip
set -ex
export UPLOADTOOL_ISPRERELEASE=true
export UPLOADTOOL_PR_BODY="This is a continuous build. Feedback is appreciated."
export UPLOADTOOL_BODY="This is a continuous build. Feedback is appreciated."
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash ./upload.sh ./MiniDexed*.zip

Loading…
Cancel
Save