Skip to content

Commit

Permalink
[CI] Change Release Naming Model
Browse files Browse the repository at this point in the history
  • Loading branch information
KreitinnSoftware committed Jan 28, 2025
1 parent eb0215b commit 28f4346
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ jobs:

- name: "Get Short SHA"
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: "Get Version"
run: echo "VERSION=$(cat app/build.gradle.kts | grep versionName | cut -d "=" -f 2 | sed "s/\"//g")" >> $GITHUB_ENV

- name: "Create Release"
uses: softprops/action-gh-release@v2
with:
name: "MiceWine Application (${{ env.SHORT_SHA }})"
name: "MiceWine Application ${{ env.VERSION }}-(git-${{ env.SHORT_SHA }})"
tag_name: ${{ env.SHORT_SHA }}
prerelease: true
files: ./app/build/outputs/apk/debug/app-debug.apk
Expand Down

0 comments on commit 28f4346

Please sign in to comment.