1- name : ProStore iOS Build and Release
1+ name : ProSign iOS Build and Release
22
33on :
44 workflow_dispatch :
@@ -96,21 +96,21 @@ jobs:
9696 run : |
9797 set -e
9898 xcodegen generate --spec project.yml
99- echo "Generated project at: $(pwd)/prostore .xcodeproj"
99+ echo "Generated project at: $(pwd)/prosign .xcodeproj"
100100 echo "project.pbxproj header (first 60 lines):"
101- sed -n '1,60p' prostore .xcodeproj/project.pbxproj || true
101+ sed -n '1,60p' prosign .xcodeproj/project.pbxproj || true
102102
103103 - name : Resolve Swift Packages
104104 run : |
105105 set -e
106- echo "Resolving Swift package dependencies for prostore ..."
107- xcodebuild -resolvePackageDependencies -project prostore .xcodeproj -scheme prostore -configuration Release
106+ echo "Resolving Swift package dependencies for prosign ..."
107+ xcodebuild -resolvePackageDependencies -project prosign .xcodeproj -scheme prosign -configuration Release
108108
109109 - name : Build IPA
110110 id : cache_object_version
111111 run : |
112112 set -e
113- ARCHIVE_PATH="$PWD/build/prostore .xcarchive"
113+ ARCHIVE_PATH="$PWD/build/prosign .xcarchive"
114114 mkdir -p build
115115
116116 # Try to read cached objectVersion from file
@@ -124,12 +124,12 @@ jobs:
124124
125125 # Test the cached version first
126126 echo "----- Testing cached objectVersion = $CACHED_VERSION -----"
127- /usr/bin/perl -0777 -pe "s/objectVersion = \\d+;/objectVersion = $CACHED_VERSION;/" -i.bak prostore .xcodeproj/project.pbxproj || true
127+ /usr/bin/perl -0777 -pe "s/objectVersion = \\d+;/objectVersion = $CACHED_VERSION;/" -i.bak prosign .xcodeproj/project.pbxproj || true
128128
129129 set +e
130130 xcodebuild clean archive \
131- -project prostore .xcodeproj \
132- -scheme prostore \
131+ -project prosign .xcodeproj \
132+ -scheme prosign \
133133 -archivePath "$ARCHIVE_PATH" \
134134 -sdk iphoneos \
135135 -configuration Release \
@@ -151,14 +151,14 @@ jobs:
151151 build_ok=0
152152 for v in "${candidates[@]}"; do
153153 echo "----- Attempting build with objectVersion = $v -----"
154- /usr/bin/perl -0777 -pe "s/objectVersion = \\d+;/objectVersion = $v;/" -i.bak prostore .xcodeproj/project.pbxproj || true
154+ /usr/bin/perl -0777 -pe "s/objectVersion = \\d+;/objectVersion = $v;/" -i.bak prosign .xcodeproj/project.pbxproj || true
155155 echo "Applied objectVersion $v. Header preview:"
156- sed -n '1,20p' prostore .xcodeproj/project.pbxproj || true
156+ sed -n '1,20p' prosign .xcodeproj/project.pbxproj || true
157157 echo "Running xcodebuild archive..."
158158 set +e
159159 xcodebuild clean archive \
160- -project prostore .xcodeproj \
161- -scheme prostore \
160+ -project prosign .xcodeproj \
161+ -scheme prosign \
162162 -archivePath "$ARCHIVE_PATH" \
163163 -sdk iphoneos \
164164 -configuration Release \
@@ -180,7 +180,7 @@ jobs:
180180 if [ "$build_ok" -ne 1 ]; then
181181 echo "ERROR: All objectVersion attempts failed. Dumping debug info:"
182182 echo "===== project.pbxproj header ====="
183- sed -n '1,200p' prostore .xcodeproj/project.pbxproj || true
183+ sed -n '1,200p' prosign .xcodeproj/project.pbxproj || true
184184 echo "===== build directory listing ====="
185185 ls -la build || true
186186 exit 74
@@ -189,9 +189,9 @@ jobs:
189189 - name : Package Device IPA
190190 run : |
191191 set -e
192- ARCHIVE_PATH="$PWD/build/prostore .xcarchive"
193- APP_PATH="$ARCHIVE_PATH/Products/Applications/prostore .app"
194- OUTPUT_IPA="build/com.prostoreios.prostore -unsigned-ios.ipa"
192+ ARCHIVE_PATH="$PWD/build/prosign .xcarchive"
193+ APP_PATH="$ARCHIVE_PATH/Products/Applications/prosign .app"
194+ OUTPUT_IPA="build/com.prostoreios.prosign -unsigned-ios.ipa"
195195 echo "Device app path: $APP_PATH"
196196 if [ ! -d "$APP_PATH" ]; then
197197 echo "ERROR: App not found at expected path. Listing archive contents:"
@@ -208,13 +208,13 @@ jobs:
208208 - name : Upload Device IPA
209209 uses : actions/upload-artifact@v4
210210 with :
211- name : com.prostoreios.prostore -unsigned-ios.ipa
212- path : build/com.prostoreios.prostore -unsigned-ios.ipa
211+ name : com.prostoreios.prosign -unsigned-ios.ipa
212+ path : build/com.prostoreios.prosign -unsigned-ios.ipa
213213
214214 - name : Get App Version
215215 id : get_version
216216 run : |
217- VERSION=$(yq '.targets.prostore .info.properties.CFBundleShortVersionString' project.yml)
217+ VERSION=$(yq '.targets.prosign .info.properties.CFBundleShortVersionString' project.yml)
218218 echo "version=$VERSION" >> $GITHUB_OUTPUT
219219 echo "Detected version: $VERSION"
220220
@@ -247,7 +247,7 @@ jobs:
247247 if [ -z "$file" ]; then
248248 continue
249249 fi
250- v=$(printf "%s" "$file" | yq '.targets.prostore .info.properties.CFBundleShortVersionString' 2>/dev/null || true)
250+ v=$(printf "%s" "$file" | yq '.targets.prosign .info.properties.CFBundleShortVersionString' 2>/dev/null || true)
251251 if [ -z "$v" ]; then
252252 continue
253253 fi
@@ -369,7 +369,7 @@ jobs:
369369 - name : Download Device IPA
370370 uses : actions/download-artifact@v4
371371 with :
372- name : com.prostoreios.prostore -unsigned-ios.ipa
372+ name : com.prostoreios.prosign -unsigned-ios.ipa
373373 path : build
374374
375375 - name : Create Release
@@ -381,10 +381,10 @@ jobs:
381381 TAG="v$VERSION"
382382 echo "Creating release $TAG with notes:"
383383 printf '%s\n' "$CHANGELOG"
384- DEVICE_IPA="build/com.prostoreios.prostore -unsigned-ios.ipa"
384+ DEVICE_IPA="build/com.prostoreios.prosign -unsigned-ios.ipa"
385385 gh release create "$TAG" \
386386 "$DEVICE_IPA" \
387- --title "ProStore v$VERSION" \
387+ --title "Prosign v$VERSION" \
388388 --notes "$CHANGELOG" \
389389 --repo "$GITHUB_REPOSITORY"
390390 shell : bash
@@ -417,7 +417,7 @@ jobs:
417417 - name : Download Device IPA
418418 uses : actions/download-artifact@v4
419419 with :
420- name : com.prostoreios.prostore -unsigned-ios.ipa
420+ name : com.prostoreios.prosign -unsigned-ios.ipa
421421 path : build
422422
423423 - name : Update App Repo
@@ -427,8 +427,8 @@ jobs:
427427 CHANGELOG : ${{ needs.build-unsigned-ipa.outputs.changelog }}
428428 run : |
429429 set -e
430- IPA_PATH="$PWD/build/com.prostoreios.prostore -unsigned-ios.ipa"
431- DOWNLOAD_URL="https://github.com/ProStore-iOS/ProStore /releases/download/v$VERSION/com.prostoreios.prostore -unsigned-ios.ipa"
430+ IPA_PATH="$PWD/build/com.prostoreios.prosign -unsigned-ios.ipa"
431+ DOWNLOAD_URL="https://github.com/ProStore-iOS/ProSign /releases/download/v$VERSION/com.prostoreios.prosign -unsigned-ios.ipa"
432432 REPO_FILE="app-repo.json"
433433
434434 if [ -f "$IPA_PATH" ]; then
@@ -443,16 +443,16 @@ jobs:
443443 MIN_OS="16.0"
444444 FULL_DATE=$(date +%Y%m%d%H%M%S)
445445
446- ICON_URL="https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/Sources/prostore /Assets.xcassets/AppIcon.appiconset/Icon-1024.png"
447- BUNDLE="com.prostoreios.prostore "
446+ ICON_URL="https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/Sources/prosign /Assets.xcassets/AppIcon.appiconset/Icon-1024.png"
447+ BUNDLE="com.prostoreios.prosign "
448448 META_DESC="The BEST alternative app store for iOS!"
449449 DEVNAME="ProStore iOS"
450450 SCREENSHOTS='[
451- "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/gallery/Screenshot1.png",
452- "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/gallery/Screenshot2.png",
453- "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/gallery/Screenshot3.png",
454- "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/gallery/Screenshot4.png",
455- "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/gallery/Screenshot5.png"
451+ "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/gallery/Screenshot1.png",
452+ "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/gallery/Screenshot2.png",
453+ "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/gallery/Screenshot3.png",
454+ "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/gallery/Screenshot4.png",
455+ "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/gallery/Screenshot5.png"
456456 ]'
457457
458458 # Ensure base repo JSON exists
@@ -489,7 +489,7 @@ jobs:
489489
490490 # Update or create the app entry
491491 jq --argjson newVer "$NEW_VERSION" \
492- --arg name "ProStore " \
492+ --arg name "ProSign " \
493493 --arg bundle "$BUNDLE" \
494494 --arg dev "$DEVNAME" \
495495 --arg desc "$META_DESC" \
@@ -567,7 +567,7 @@ jobs:
567567 exit 0
568568 fi
569569
570- git commit -m "Update apps.json from ProStore v${VERSION}"
570+ git commit -m "Update apps.json for ProSign v${VERSION}"
571571 echo "Pushing apps.json to ${PAGES_REPO}:main"
572572 git push "https://x-access-token:${PAGES_PAT}@github.com/${PAGES_REPO}.git" HEAD:main
573573 shell : bash
@@ -607,16 +607,16 @@ jobs:
607607 - name : Download Device IPA
608608 uses : actions/download-artifact@v4
609609 with :
610- name : com.prostoreios.prostore -unsigned-ios.ipa
610+ name : com.prostoreios.prosign -unsigned-ios.ipa
611611 path : build
612612
613613 - name : Handle Developer Release
614614 env :
615615 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
616616 run : |
617617 set -e
618- DEVICE_IPA="build/com.prostoreios.prostore -unsigned-ios.ipa"
619- DEV_IPA="build/com.prostoreios.prostore -developer-unsigned-ios.ipa"
618+ DEVICE_IPA="build/com.prostoreios.prosign -unsigned-ios.ipa"
619+ DEV_IPA="build/com.prostoreios.prosign -developer-unsigned-ios.ipa"
620620 mv "$DEVICE_IPA" "$DEV_IPA"
621621
622622 TAG="developer"
@@ -641,7 +641,7 @@ jobs:
641641 run : |
642642 set -e
643643 REPO_FILE="developer-repo.json"
644- DOWNLOAD_URL="https://github.com/ProStore-iOS/ProStore /releases/download/developer/com.prostoreios.prostore -developer-unsigned-ios.ipa"
644+ DOWNLOAD_URL="https://github.com/ProStore-iOS/ProSign /releases/download/developer/com.prostoreios.prosign -developer-unsigned-ios.ipa"
645645
646646 # Function to increment patch version
647647 increment_patch() {
@@ -670,12 +670,12 @@ jobs:
670670
671671 # Create or update JSON (always replace with single version)
672672 jq -n \
673- --arg name "ProStore Developer Repo" \
674- --arg appname "ProStore Developer" \
673+ --arg name "ProSign Developer Repo" \
674+ --arg appname "ProSign Developer" \
675675 --arg devname "ProStore iOS" \
676- --arg bundleIdentifier "com.prostoreios.prostore " \
677- --arg description "The developer pre-release version of ProStore !" \
678- --arg iconURL "https://raw.githubusercontent.com/ProStore-iOS/ProStore /refs/heads/main/Sources/prostore /Assets.xcassets/AppIcon.appiconset/Icon-1024.png" \
676+ --arg bundleIdentifier "com.prostoreios.prosign " \
677+ --arg description "The developer pre-release version of ProSign !" \
678+ --arg iconURL "https://raw.githubusercontent.com/ProStore-iOS/ProSign /refs/heads/main/Sources/prosign /Assets.xcassets/AppIcon.appiconset/Icon-1024.png" \
679679 --arg version "$NEW_VERSION" \
680680 --arg url "$DOWNLOAD_URL" \
681681 '{
@@ -697,7 +697,7 @@ jobs:
697697 git config user.name "github-actions"
698698 git config user.email "github-actions@github.com"
699699 git add "$REPO_FILE"
700- git commit -m "Update ProStore developer repo to $NEW_VERSION" || echo "No changes to commit"
700+ git commit -m "Update ProSign developer repo to $NEW_VERSION" || echo "No changes to commit"
701701
702702 git fetch origin main --quiet
703703 if git rev-parse --verify origin/main >/dev/null 2>&1; then
@@ -737,7 +737,7 @@ jobs:
737737 exit 0
738738 fi
739739
740- git commit -m "Update developer.json from ProStore developer build"
740+ git commit -m "Update developer JSON from ProSign developer build"
741741 echo "Pushing developer.json to ${PAGES_REPO}:main"
742742 git push "https://x-access-token:${PAGES_PAT}@github.com/${PAGES_REPO}.git" HEAD:main
743743 shell : bash
0 commit comments