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 d5a4ca9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,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 d5a4ca9

Please sign in to comment.