make release on tags draft

This commit is contained in:
Kyle Robbertze 2021-05-21 16:45:29 +02:00
parent c7c62b1268
commit ca28cc5170
3 changed files with 9 additions and 10 deletions

View File

@ -25,10 +25,6 @@ fi
echo "Creating tarball for LibreTime ${suffix}."
# Adding dos2unix package
apt update -y -q
apt install dos2unix php composer -y
echo -n "Creating VERSION file for ${suffix}..."
echo -n "${suffix}" > ./VERSION
echo " Done"

View File

@ -29,10 +29,13 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${ steps.release_notes_file.outputs.contents }
draft: false
prerelease: false
- name: Build project # This would actually build your project
run: sudo bash ./.github/scripts/release.sh ${{ github.ref }}
draft: true
prerelease: true
- name: Build project
run: |-
sudo apt update -y -q
sudo apt install dos2unix php composer -y
./.github/scripts/release.sh ${{ github.ref }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1