Skip to content

Commit d592c9c

Browse files
committed
uncomment changes
1 parent 3f3c99f commit d592c9c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/_reusable_app_release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,22 +211,22 @@ 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
226226
with:
227227
status: ${{ job.status }}
228228
text: |
229-
"**${{ env.APP_NAME }}** (version: ${{ env.BUILD_VERSION }} build: ${{ env.BUILD_NUMBER }}) is ready to test 🚀
229+
**${{ env.APP_NAME }}** (version: ${{ env.BUILD_VERSION }} build: ${{ env.BUILD_NUMBER }}) is ready to test 🚀
230230
**COUNTLY_ENABLED:** ${{ env.ENABLE_COUNTLY }}
231231
**DATADOG_ENABLED:** ${{ env.ENABLE_DATADOG }}
232232
**CHANGELOG:** ${{ needs.changelog.outputs.changelog-url }}

fastlane/Fastfile

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

630630
# Calculate SHA-256 for the local IPA file
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}")
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}")
636636

637637
appcenter_upload(
638638
api_token: ENV["APPCENTER_API_TOKEN"],
@@ -647,15 +647,15 @@ platform :ios do
647647

648648
# Fetch install URL after upload
649649
appcenter_build_info = Fastlane::Actions.lane_context[:APPCENTER_BUILD_INFORMATION]
650-
`export TEMP='BUILD_INSTALL_LINK=#{appcenter_build_info['install_url']}' && echo $TEMP >> ./.post_build/.env`
651-
# 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']
652652

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")
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")
656656

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}"
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}"
659659
end
660660

661661
# Upload to S3 (Automation builds)

0 commit comments

Comments
 (0)