Skip to content

Commit 99d68c4

Browse files
committed
Pipeline: Tag body experiments
1 parent c305ec2 commit 99d68c4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ios.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ jobs:
185185
needs: [export_ipa]
186186
runs-on: macos-14
187187
steps:
188+
- name: checkout repository
189+
uses: actions/checkout@v4
190+
188191
- uses: maxim-lobanov/setup-xcode@v1
189192
with:
190193
xcode-version: 15.4
@@ -196,13 +199,20 @@ jobs:
196199
run: |
197200
zip -vr dSYMs.zip app-Release-adhoc/dSYMs/ -x "*.DS_Store"
198201
202+
- name: Get tag message
203+
id: vars
204+
run: |
205+
git fetch --depth=1 origin +refs/tags/${GITHUB_REF_NAME}
206+
full_tag_body=$(git tag -l --format='%(raw)' ${GITHUB_REF_NAME})
207+
echo "tag_body=$(echo "$full_tag_body" | tail -n +6)" >> $GITHUB_OUTPUT
208+
199209
- name: Release to GitHub
200210
uses: softprops/action-gh-release@v2
201211
if: startsWith(github.ref, 'refs/tags/')
202212
with:
203213
repository: XITRIX/iTorrent
204214
token: ${{ secrets.DISTRIB_REPO_ACCESS_TOKEN }}
205-
body: $(git tag -l --format='%(contents)' ${GITHUB_REF_NAME})
215+
body: ${{ steps.vars.outputs.tag_body }}
206216
files: |
207217
app-Release-adhoc/build/iTorrent.ipa
208218
app-Release-adhoc/build/manifest.plist

0 commit comments

Comments
 (0)