Skip to content

Commit

Permalink
#1698 - Migrate to Capacitor - Add CI print for the files that have c…
Browse files Browse the repository at this point in the history
…hanged
  • Loading branch information
HarelM committed Aug 4, 2022
1 parent 4da01af commit 35a73e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/BuildAndPublishAndroid.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ $filePath = get-ChildItem build.gradle -Path app | Select-Object -first 1 | sele
-replace 'versionName "([0-9.]+)"',"versionName ""$env:APPVEYOR_BUILD_VERSION""" `
| Set-Content -Path $filePath

(Get-Content -path $filePath -Raw) | Write-Host

$aabVersioned = "./IHM_signed_$env:APPVEYOR_BUILD_VERSION.aab"
if ($env:STORE_PASSWORD -ne $null) {
./gradlew :app:bundleRelease "-Pandroid.injected.signing.store.file=$env:APPVEYOR_BUILD_FOLDER/IsraelHiking.Web/signing/IHM.jks" "-Pandroid.injected.signing.store.password=$env:STORE_PASSWORD" "-Pandroid.injected.signing.key.alias=ihmkey" "-Pandroid.injected.signing.key.password=$env:PASSWORD"
Expand Down
2 changes: 2 additions & 0 deletions Scripts/BuildAndPublishIOS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Select-Xml -xml $fileXml -XPath "//dict/key[. = 'CFBundleVersion']/following-sib
}
$fileXml.Save($filePath)

(Get-Content -path $filePath -Raw) | Write-Host

Write-Host "Archiving..."
xcodebuild -workspace App/App.xcworkspace -scheme App -archivePath App.xcarchive -configuration Release -destination generic/platform=iOS archive

Expand Down

0 comments on commit 35a73e0

Please sign in to comment.