Skip to content

Commit

Permalink
Pipeline: Tag body experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
XITRIX committed Jul 29, 2024
1 parent c305ec2 commit 99d68c4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 99d68c4

Please sign in to comment.