Skip to content

Commit

Permalink
Fix: 빌드 번호 자체 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
puretension committed Jun 21, 2024
1 parent d83156d commit 81cc41e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
# Get the current build number from Info.plist
CURRENT_BUILD_NUMBER=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "ios/PoppinProject/Info.plist")
# Check if CURRENT_BUILD_NUMBER is a number, if not set it to 4
if ! [[ "$CURRENT_BUILD_NUMBER" =~ ^[0-9]+$ ]]; then
CURRENT_BUILD_NUMBER=4
fi
# Increment the build number
NEW_BUILD_NUMBER=$((CURRENT_BUILD_NUMBER + 1))
Expand All @@ -65,6 +60,8 @@
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $NEW_BUILD_NUMBER" "ios/PoppinProject/Info.plist"
echo "Updated version number to $VERSION_NUMBER and build number to $NEW_BUILD_NUMBER"
echo "Updated version number to $VERSION_NUMBER and build number to $NEW_BUILD_NUMBER"
- name: Decode iOS secrets
env:
P12_DISTRIBUTION_CERTIFICATE_BASE64: ${{ secrets.IOS_P12_DISTRIBUTION_CERTIFICATE_BASE64 }}
Expand Down

0 comments on commit 81cc41e

Please sign in to comment.