From c90e5b2fe517015dc88adf34ee867ced7caab714 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 21 Nov 2022 16:58:25 +0530 Subject: [PATCH] Revert "fix: don't use markdown heading for PS release notes" This is mostly meaniningless This reverts commit 20d527246ac6913712b60c71a1959de91e82341e. --- .github/workflows/release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aaf4a60c..b4fc7efa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,13 +66,13 @@ jobs: version: ${{ env.VERSION }} path: ./CHANGELOG.md - - name: Write Play Store release notes file + - name: Write release notes file shell: bash env: CHANGELOG: ${{ steps.changelog_reader.outputs.changes }} run: | 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 - name: Publish bundle to Google Play @@ -90,7 +90,6 @@ jobs: shell: bash env: GITHUB_TOKEN: ${{ secrets.POST_RELEASE_GH_TOKEN }} - CHANGELOG: ${{ steps.changelog_reader.outputs.changes }} run: | # Tag the current version git tag "v${VERSION}" -F distribution/whatsnew/whatsnew-en-GB @@ -98,13 +97,8 @@ jobs: # Push the tag to GitHub 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 - gh release create "v${VERSION}" --notes-file "${CHANGELOG_FILE}" --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab + gh release create "v${VERSION}" --notes-file distribution/whatsnew/whatsnew-en-GB --title "v${VERSION}" ./android/apk/*.apk ./android/bundle/*.aab # Start the next development iteration ./gradlew -q --no-configuration-cache bumpSnapshot