From 2b9466e49120080630d76c903de444b854e0543b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Wed, 22 Jan 2025 00:53:33 +0300 Subject: [PATCH] update changelog file --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88c674d29..ea26c7421 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,12 +96,14 @@ jobs: echo "::notice::building master" ./gradlew assembleRelease mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk" + cp "./github/changelog.md" "${{ github.workspace }}/output/" elif [[ "${{ inputs.style }}" -eq "2" ]]; then cd "${{ github.workspace }}/extended/" echo "::notice::building extended" ./gradlew assembleRelease mv "${{ github.workspace }}/extended/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/extended.apk" + cp "./github/changelog.md" "${{ github.workspace }}/output/" elif [[ "${{ inputs.style }}" -eq "3" ]]; then echo "::notice::both master and extended are going to build" @@ -110,6 +112,7 @@ jobs: echo "::notice::building master" ./gradlew assembleRelease mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk" + cp "./github/changelog.md" "${{ github.workspace }}/output/" cd "${{ github.workspace }}/extended" echo "::notice::building extended" @@ -121,6 +124,7 @@ jobs: echo "::notice::building current" ./gradlew assembleRelease mv "${{ github.workspace }}/current/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/current.apk" + cp "./github/changelog.md" "${{ github.workspace }}/output/" fi - name: Sign APK @@ -167,7 +171,7 @@ jobs: - name: Create release and upload run: | gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}" - gh release create "v${version}" --title "${{ inputs.title }}" --notes-file ".github/changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests + gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests cd "${{ github.workspace }}/output/" gh release upload "v${version}" "echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt" --repo MaintainTeam/PipeBenderTests