Skip to content

Commit

Permalink
Update publish-apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Dec 25, 2024
1 parent 653d296 commit 837136d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,25 @@ jobs:
shell: bash
run: |
VERSION=${GITHUB_REF#refs/tags/}
FILENAME="Singles-Sorter-$VERSION.apk"
VERSION_CLEAN=${VERSION#v}
FILENAME="Singles-Sorter-$VERSION_CLEAN.apk"
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "VERSION_CLEAN=$VERSION_CLEAN" >> $GITHUB_OUTPUT
echo "FILENAME=$FILENAME" >> $GITHUB_OUTPUT
echo "RELEASE_TITLE=APK Build Release $VERSION" >> $GITHUB_OUTPUT
echo "RELEASE_TITLE=APK Build Release $VERSION_CLEAN" >> $GITHUB_OUTPUT
- name: Rename APK File
run: |
mv build/apk/*.apk build/apk/${{ steps.get_version.outputs.FILENAME }}
- name: Create Release
- name: Create Draft Release
uses: softprops/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
name: ${{ steps.get_version.outputs.RELEASE_TITLE }}
draft: false
draft: true
prerelease: false
files: |
build/apk/${{ steps.get_version.outputs.FILENAME }}

0 comments on commit 837136d

Please sign in to comment.