mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
fix: don't use markdown heading for PS release notes
This commit is contained in:
parent
e4499ab8d3
commit
20d527246a
1 changed files with 9 additions and 3 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -66,13 +66,13 @@ jobs:
|
||||||
version: ${{ env.VERSION }}
|
version: ${{ env.VERSION }}
|
||||||
path: ./CHANGELOG.md
|
path: ./CHANGELOG.md
|
||||||
|
|
||||||
- name: Write release notes file
|
- name: Write Play Store release notes file
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
CHANGELOG: ${{ steps.changelog_reader.outputs.changes }}
|
CHANGELOG: ${{ steps.changelog_reader.outputs.changes }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p distribution/whatsnew
|
mkdir -p distribution/whatsnew
|
||||||
printf '## Changelog\n' > distribution/whatsnew/whatsnew-en-GB
|
printf 'Changelog\n' > distribution/whatsnew/whatsnew-en-GB
|
||||||
printf '%s' "${CHANGELOG}" >> distribution/whatsnew/whatsnew-en-GB
|
printf '%s' "${CHANGELOG}" >> distribution/whatsnew/whatsnew-en-GB
|
||||||
|
|
||||||
- name: Publish bundle to Google Play
|
- name: Publish bundle to Google Play
|
||||||
|
@ -90,6 +90,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.POST_RELEASE_GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.POST_RELEASE_GH_TOKEN }}
|
||||||
|
CHANGELOG: ${{ steps.changelog_reader.outputs.changes }}
|
||||||
run: |
|
run: |
|
||||||
# Tag the current version
|
# Tag the current version
|
||||||
git tag "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB
|
git tag "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB
|
||||||
|
@ -97,8 +98,13 @@ jobs:
|
||||||
# Push the tag to GitHub
|
# Push the tag to GitHub
|
||||||
git push origin "v${VERSION}"
|
git push origin "v${VERSION}"
|
||||||
|
|
||||||
|
# Create GitHub release noes
|
||||||
|
CHANGELOG_FILE=$(mktemp)
|
||||||
|
printf '## Changelog\n' > "${CHANGELOG_FILE}"
|
||||||
|
printf '%s' "${CHANGELOG}" >> "${CHANGELOG_FILE}"
|
||||||
|
|
||||||
# Create a GitHub release
|
# Create a GitHub release
|
||||||
gh release create "v${VERSION}" --notes-file distribution/whatsnew/whatsnew-en-GB --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab
|
gh release create "v${VERSION}" --notes-file "${CHANGELOG_FILE}" --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab
|
||||||
|
|
||||||
# Start the next development iteration
|
# Start the next development iteration
|
||||||
./gradlew -q --no-configuration-cache bumpSnapshot
|
./gradlew -q --no-configuration-cache bumpSnapshot
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue