diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f2e7aa..6abe3f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ stages: - - test +# - test - build - deploy @@ -24,7 +24,7 @@ build_project: deploy_snapshot: stage: deploy script: - - cd Scripts && ./upload_remote_view_frameworks.sh + - cd Scripts && ./upload_core_frameworks.sh only: - branches - develop diff --git a/Scripts/upload_remote_view_frameworks.sh b/Scripts/upload_core_frameworks.sh similarity index 62% rename from Scripts/upload_remote_view_frameworks.sh rename to Scripts/upload_core_frameworks.sh index 1ff2744..714cf16 100755 --- a/Scripts/upload_remote_view_frameworks.sh +++ b/Scripts/upload_core_frameworks.sh @@ -1,10 +1,10 @@ #!/bin/sh -e -# upload_remote_view_frameworks.sh +# upload_core_frameworks.sh # -# Uploads all compiled framework flavors in RemoteViewFramework to Artifactory with the SNAPSHOT classifier. This is to avoid accidently clobbering a release build of a particular version. Remove the classifier in Artificatory to make a release. +# Uploads all compiled framework flavors in MVMCore to Artifactory with the SNAPSHOT classifier. This is to avoid accidently clobbering a release build of a particular version. Remove the classifier in Artificatory to make a release. # -# Created by Hedden, Kyle Matthew on 3/2/18. +# Copied from Hedden, Kyle Matthew on 3/2/18. # FRAMEWORK_VERSION=$(cd ../MVMCore && agvtool vers -terse) @@ -19,8 +19,6 @@ if [ -z $ARTIFACTORY_URL ]; then ARTIFACTORY_URL="https://oneartifactoryprod.verizon.com/artifactory" fi -#xcodebuild -workspace "../RemoteView.xcworkspace" -scheme "RemoteViewAggregate" - # Remote View Versions BUILD_DIR=$(xcodebuild -showBuildSettings -project ../MVMCore/MVMCore.xcodeproj | grep -w -o 'BUILD_DIR = .*' | cut -d\ -f3-) ./upload_framework.sh $ARTIFACTORY_URL "${BUILD_DIR}/universal/MVMCore.framework" BPHV_MobileFirst_IOS/com/vzw/hss/myverizon/MVMCore/[VER]/MVMCore-[VER]-Debug-SNAPSHOT diff --git a/Scripts/upload_framework.sh b/Scripts/upload_framework.sh index 5003d7e..94a6007 100755 --- a/Scripts/upload_framework.sh +++ b/Scripts/upload_framework.sh @@ -1,7 +1,6 @@ #!/bin/bash -e # upload_framework.sh -# RemoteView # # Uploads an iOS framework to Artificatory given the local path as the first argument and the remote project name in Verizon OneArtifactory for the second argument. # @@ -9,7 +8,7 @@ # # The script will replace [VER] in the provided remote path with the version found in the framework bundle. # -# Created by Hedden, Kyle Matthew on 3/2/18. +# Copied from Hedden, Kyle Matthew on 3/2/18. # Copyright © 2018 Verizon. All rights reserved. URL=$1