From 377eaa8402978f350691c3b76762d21606c78e6a Mon Sep 17 00:00:00 2001 From: Michael Hollister Date: Thu, 20 Feb 2025 01:47:52 -0600 Subject: [PATCH] Renaming build artifact instead --- receivers/tizen/README.md | 7 ------- receivers/tizen/scripts/build.sh | 3 ++- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/receivers/tizen/README.md b/receivers/tizen/README.md index 5158399..1a09ea4 100644 --- a/receivers/tizen/README.md +++ b/receivers/tizen/README.md @@ -26,13 +26,6 @@ npm install For signing the build artifact you must export the following environment variables or set them in your `.env` file: ``` -# .env - -# Submission requirements need app title to match what is in the web apps' config.xml. -# However, this results in the build artifact name to contain a space. Seems to be weird -# issues with variable expansion/quoting when running the build script in the GitLab CI -# vs running locally, so allowing artifact name to be defined via a environment variable... -TIZEN_ARTIFACT_NAME="'FCast Receiver.wgt'" CERT_PATH=/app/receivers/tizen/PATH_TO_CERTS CERT_IDENTITY=YOUR_IDENTITY CERT_AUTHOR_PASSWORD=YOUR_PASSWORD diff --git a/receivers/tizen/scripts/build.sh b/receivers/tizen/scripts/build.sh index 6b950f4..9ef1854 100755 --- a/receivers/tizen/scripts/build.sh +++ b/receivers/tizen/scripts/build.sh @@ -25,6 +25,7 @@ tizen security-profiles add --active --force --name $CERT_IDENTITY --author $CER tizen cli-config "profiles.path=/home/ubuntu/tizen-studio-data/profile/profiles.xml" sed -i "s|$CERT_PATH/author/$CERT_IDENTITY/author.pwd|$CERT_AUTHOR_PASSWORD|g" /home/ubuntu/tizen-studio-data/profile/profiles.xml sed -i "s|$CERT_PATH/SamsungCertificate/$CERT_IDENTITY/distributor.pwd|$CERT_DIST_PASSWORD|g" /home/ubuntu/tizen-studio-data/profile/profiles.xml -../../scripts/package.sh tizen package -t wgt -s $CERT_IDENTITY -r ../../FCastReceiverService/bin/Release/netcoreapp2.1/com.futo.FCastReceiverService-1.0.0.tpk -- $TIZEN_ARTIFACT_NAME +mv "FCast Receiver.wgt" FCastReceiver.wgt +../../scripts/package.sh tizen package -t wgt -s $CERT_IDENTITY -r ../../FCastReceiverService/bin/Release/netcoreapp2.1/com.futo.FCastReceiverService-1.0.0.tpk -- FCastReceiver.wgt cd ../../