Skip to content

Commit f9c6fef

Browse files
committed
Updated
1 parent 5f315e9 commit f9c6fef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-ipa.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,15 @@ jobs:
208208
run: |
209209
APP_VERSION=$(xcodebuild -project FrameExtractionTool.xcodeproj -showBuildSettings -configuration Release | grep -E 'MARKETING_VERSION' | awk '{print $3}' | head -1)
210210
BUILD_NUMBER=$(xcodebuild -project FrameExtractionTool.xcodeproj -showBuildSettings -configuration Release | grep -E 'CURRENT_PROJECT_VERSION' | awk '{print $3}' | head -1)
211+
212+
# Extract version from Git tag for release title
213+
GIT_TAG_VERSION=${GITHUB_REF#refs/tags/}
214+
echo "release_version=${GIT_TAG_VERSION}" >> $GITHUB_OUTPUT
211215
echo "app_version=${APP_VERSION}" >> $GITHUB_OUTPUT
212216
echo "build_number=${BUILD_NUMBER}" >> $GITHUB_OUTPUT
217+
echo "Git Tag Version: ${GIT_TAG_VERSION}"
218+
echo "App Version: ${APP_VERSION}"
219+
echo "Build Number: ${BUILD_NUMBER}"
213220
214221
- name: Download IPA Artifact
215222
uses: actions/download-artifact@v4
@@ -222,9 +229,9 @@ jobs:
222229
with:
223230
files: |
224231
./release/FrameExtractionTool-unsigned.ipa
225-
name: FrameExtractionTool v${{ steps.app_version.outputs.app_version }}
232+
name: FrameExtractionTool ${{ steps.app_version.outputs.release_version }}
226233
body: |
227-
## FrameExtractionTool v${{ steps.app_version.outputs.app_version }}
234+
## FrameExtractionTool ${{ steps.app_version.outputs.release_version }}
228235
229236
### 📱 What's New
230237
<!-- Add release notes here -->

0 commit comments

Comments
 (0)