Skip to content

Commit 3f3c99f

Browse files
committed
temp
1 parent b2cd820 commit 3f3c99f

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

.github/workflows/_reusable_app_release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,15 @@ jobs:
211211
id: base64-decoded-S3_PATHS
212212
with:
213213
base64: ${{ env.S3_PATHS }}
214-
- uses: akiojin/decode-base64-github-action@v1.0.2
215-
id: base64-decoded-BUILD_INSTALL_LINK
216-
with:
217-
base64: ${{ env.BUILD_INSTALL_LINK }}
218-
- name: Print Install URL and SHA56
219-
run: |
220-
echo "Install URL: $BUILD_INSTALL_LINK"
221-
echo "Install URL decoded: $steps.base64-decoded-BUILD_INSTALL_LINK"
222-
echo "SHA-256: $BUILD_SHA256"
214+
# - uses: akiojin/decode-base64-github-action@v1.0.2
215+
# id: base64-decoded-BUILD_INSTALL_LINK
216+
# with:
217+
# base64: ${{ env.BUILD_INSTALL_LINK }}
218+
# - name: Print Install URL and SHA56
219+
# run: |
220+
# echo "Install URL: $BUILD_INSTALL_LINK"
221+
# echo "Install URL decoded: $steps.base64-decoded-BUILD_INSTALL_LINK"
222+
# echo "SHA-256: $BUILD_SHA256"
223223
- name: Notify on Wire if succeeded
224224
if: success()
225225
uses: 8398a7/action-slack@v3

fastlane/Fastfile

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,11 @@ platform :ios do
628628
end
629629

630630
# Calculate SHA-256 for the local IPA file
631-
ipa_path = "../#{build.artifact_path(with_filename: true)}.ipa"
632-
sha256 = `shasum -a 256 #{ipa_path} | awk '{print $1}'`.strip
633-
UI.message("SHA-256 of IPA is: #{sha256}")
631+
sh "echo SHA of IPA is:"
632+
sh "shasum -a 256 ../#{build.artifact_path(with_filename: true)}.ipa || true"
633+
# ipa_path = "../#{build.artifact_path(with_filename: true)}.ipa"
634+
# sha256 = `shasum -a 256 #{ipa_path} | awk '{print $1}'`.strip
635+
# UI.message("SHA-256 of IPA is: #{sha256}")
634636

635637
appcenter_upload(
636638
api_token: ENV["APPCENTER_API_TOKEN"],
@@ -645,14 +647,15 @@ platform :ios do
645647

646648
# Fetch install URL after upload
647649
appcenter_build_info = Fastlane::Actions.lane_context[:APPCENTER_BUILD_INFORMATION]
648-
install_url = appcenter_build_info['install_url']
650+
`export TEMP='BUILD_INSTALL_LINK=#{appcenter_build_info['install_url']}' && echo $TEMP >> ./.post_build/.env`
651+
# install_url = appcenter_build_info['install_url']
649652

650-
# Export SHA-256 and INSTALL_LINK to .post_build/.env file
651-
export_env_path = "./.post_build/.env"
652-
FileUtils.mkdir_p("./.post_build")
653+
# # Export SHA-256 and INSTALL_LINK to .post_build/.env file
654+
# export_env_path = "./.post_build/.env"
655+
# FileUtils.mkdir_p("./.post_build")
653656

654-
sh "export TEMP='BUILD_INSTALL_LINK=#{install_url}' && echo $TEMP >> #{export_env_path}"
655-
sh "export TEMP='BUILD_SHA256=#{sha256}' && echo $TEMP >> #{export_env_path}"
657+
# sh "export TEMP='BUILD_INSTALL_LINK=#{install_url}' && echo $TEMP >> #{export_env_path}"
658+
# sh "export TEMP='BUILD_SHA256=#{sha256}' && echo $TEMP >> #{export_env_path}"
656659
end
657660

658661
# Upload to S3 (Automation builds)

0 commit comments

Comments
 (0)