From 6b7bdfefaeed0380827952b53bc2c802c32d25e7 Mon Sep 17 00:00:00 2001 From: Michael Hollister Date: Thu, 20 Feb 2025 01:38:11 -0600 Subject: [PATCH] Changing to more descriptive envrionment variable name --- receivers/tizen/README.md | 2 +- receivers/tizen/scripts/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/receivers/tizen/README.md b/receivers/tizen/README.md index 616ec6f..5158399 100644 --- a/receivers/tizen/README.md +++ b/receivers/tizen/README.md @@ -32,7 +32,7 @@ For signing the build artifact you must export the following environment variabl # 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... -ARTIFACT_NAME="'FCast Receiver.wgt'" +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 a4223c4..6b950f4 100755 --- a/receivers/tizen/scripts/build.sh +++ b/receivers/tizen/scripts/build.sh @@ -25,6 +25,6 @@ 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 -- $ARTIFACT_NAME +../../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 cd ../../