From 18ff2ec45de6d34070834a5db1cb24cfdb8492ef Mon Sep 17 00:00:00 2001 From: TrianguloY Date: Thu, 29 Aug 2024 16:43:06 +0200 Subject: [PATCH] add release footer --- .github/workflows/release.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 235b61f..6cbf86c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,15 +42,16 @@ jobs: RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }} - name: Upload apk to release with the release notes - run: > + run: | + ( sed '/^$/q' ./app/src/main/play/release-notes/en-US/default.txt - | - gh release create $TAG - ./app/build/outputs/apk/release/*.apk - --title="URLCheck ${TAG#v} release apk" - --notes-file - - --latest - --verify-tag + cat - << EOF + --- + + Note: All three different versions (Play Store, F-droid and Github) are signed with different certificates, so you cannot update one with another unless you uninstall first. + Remember to use the backup/restore functionality to migrate your data! + EOF + ) | gh release create $TAG ./app/build/outputs/apk/release/*.apk --title="URLCheck ${TAG#v} release apk" --latest --verify-tag --notes-file - env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ github.ref_name }} \ No newline at end of file