diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index e552f6f6..df6ff1c5 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -185,6 +185,9 @@ jobs: needs: [export_ipa] runs-on: macos-14 steps: + - name: checkout repository + uses: actions/checkout@v4 + - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: 15.4 @@ -196,13 +199,20 @@ jobs: run: | zip -vr dSYMs.zip app-Release-adhoc/dSYMs/ -x "*.DS_Store" + - name: Get tag message + id: vars + run: | + git fetch --depth=1 origin +refs/tags/${GITHUB_REF_NAME} + full_tag_body=$(git tag -l --format='%(raw)' ${GITHUB_REF_NAME}) + echo "tag_body=$(echo "$full_tag_body" | tail -n +6)" >> $GITHUB_OUTPUT + - name: Release to GitHub uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: repository: XITRIX/iTorrent token: ${{ secrets.DISTRIB_REPO_ACCESS_TOKEN }} - body: $(git tag -l --format='%(contents)' ${GITHUB_REF_NAME}) + body: ${{ steps.vars.outputs.tag_body }} files: | app-Release-adhoc/build/iTorrent.ipa app-Release-adhoc/build/manifest.plist