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}."
|
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 "Creating VERSION file for ${suffix}..."
|
||||||
echo -n "${suffix}" > ./VERSION
|
echo -n "${suffix}" > ./VERSION
|
||||||
echo " Done"
|
echo " Done"
|
||||||
|
|
|
@ -29,10 +29,13 @@ jobs:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: Release ${{ github.ref }}
|
release_name: Release ${{ github.ref }}
|
||||||
body: ${ steps.release_notes_file.outputs.contents }
|
body: ${ steps.release_notes_file.outputs.contents }
|
||||||
draft: false
|
draft: true
|
||||||
prerelease: false
|
prerelease: true
|
||||||
- name: Build project # This would actually build your project
|
- name: Build project
|
||||||
run: sudo bash ./.github/scripts/release.sh ${{ github.ref }}
|
run: |-
|
||||||
|
sudo apt update -y -q
|
||||||
|
sudo apt install dos2unix php composer -y
|
||||||
|
./.github/scripts/release.sh ${{ github.ref }}
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
|
|
Loading…
Reference in New Issue