Skip to content

Commit 7f4356b

Browse files
committed
chore: fix release pipeline to pass build version
1 parent d73b87f commit 7f4356b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ jobs:
8585
- name: Push version to production (iOS)
8686
run: |
8787
cd ./iOS
88-
fastlane promoteToProduction build_number:${{ steps.download-assets.outputs.VERSION_CODE }}
88+
VERSION_TAG="${{ github.event.release.tag_name }}"
89+
CLEAN_VERSION="${VERSION_TAG#v}"
90+
fastlane promoteToProduction build_number:${{ steps.download-assets.outputs.VERSION_CODE }} version_name:${CLEAN_VERSION}
8991
if [[ $? -ne 0 ]]; then
9092
exit 1
9193
fi

0 commit comments

Comments
 (0)