Skip to content

Commit

Permalink
Revert "Optional pre release"
Browse files Browse the repository at this point in the history
This reverts commit 4882bdb.
  • Loading branch information
hannesa2 committed Jul 12, 2021
1 parent 3862a4f commit 01d4477
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/Android-CI-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,11 @@ jobs:
env:
VERSION: ${{ github.ref }}
- run: |
PRE_RELEASE=""
if [[ ${{steps.tagger.outputs.tag}} == *"beta"* ]]; then
PRE_RELEASE="-p"
fi
if [[ ${{steps.tagger.outputs.tag}} == *"alpha"* ]]; then
PRE_RELEASE="-p"
fi
assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
VERSION=$(echo $VERSION | cut -d'/' -f3)
assetsJAR=$(find . -name IOIO*${VERSION}.jar | while read -r asset ; do echo "-a $asset" ; done)
tag_name="${GITHUB_REF##*/}"
hub release create $PRE_RELEASE ${assetsAAR} ${assetsJAR} -m "$tag_name" "$tag_name"
hub release create ${assetsAAR} ${assetsJAR} -m "$tag_name" "$tag_name"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref }}

0 comments on commit 01d4477

Please sign in to comment.