make release on tags draft
This commit is contained in:
parent
c7c62b1268
commit
ca28cc5170
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue