Skip to content

Commit

Permalink
Update build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Felitendo authored Aug 4, 2024
1 parent 7831832 commit f4eea90
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,19 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PRERELEASE_FLAG=""
if [ "${{ steps.extract_version.outputs.beta }}" = "true" ]; then
PRERELEASE_FLAG="--prerelease"
fi
DRAFT_FLAG=""
if [ "${{ inputs.draft }}" = "true" ]; then
DRAFT_FLAG="--draft"
fi
gh release create "${{ steps.extract_version.outputs.tag }}" \
--title "${{ steps.extract_version.outputs.version }}" \
--generate-notes \
--prerelease ${{ steps.extract_version.outputs.beta }} \
--draft ${{ github.event.inputs.draft }} \
$PRERELEASE_FLAG \
$DRAFT_FLAG \
./Manager.apk

0 comments on commit f4eea90

Please sign in to comment.