mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
Revert "fix(release): rework Play Store release workflow"
This reverts commit cd7d82d378
.
This commit is contained in:
parent
cd7d82d378
commit
7be1157f22
2 changed files with 3 additions and 16 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
@ -1,25 +1,15 @@
|
||||||
name: Release to Google Play
|
name: Release to Google Play
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-google-play-release:
|
publish-google-play-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Get latest release
|
|
||||||
id: latest-release
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
tag_name="$(gh api /repos/msfjarvis/compose-lobsters/releases --jq '.[0].tag_name')"
|
|
||||||
echo "checkout_ref=${tag_name}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3.1.0
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
|
||||||
ref: ${{ steps.latest-release.outputs.checkout_ref }}
|
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v3.6.0
|
uses: actions/setup-java@v3.6.0
|
||||||
|
@ -45,7 +35,6 @@ jobs:
|
||||||
packageName: dev.msfjarvis.claw.android
|
packageName: dev.msfjarvis.claw.android
|
||||||
releaseFiles: android/bundle/*.aab
|
releaseFiles: android/bundle/*.aab
|
||||||
track: production
|
track: production
|
||||||
status: completed
|
|
||||||
whatsNewDirectory: distribution/whatsnew
|
whatsNewDirectory: distribution/whatsnew
|
||||||
mappingFile: android/bundle/mapping.txt
|
mappingFile: android/bundle/mapping.txt
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,3 @@ git commit -am 'feat(release): start next development iteration'
|
||||||
git push origin main "v${VERSION}"
|
git push origin main "v${VERSION}"
|
||||||
|
|
||||||
gh release create "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab
|
gh release create "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab
|
||||||
|
|
||||||
gh workflow run release.yml
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue