Commit fdf4732e authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180082: Job [Deploy_Hi365_IOS_SIT] configuration updated

Change performed by ³¯¾_¶§
parent 185b305c
......@@ -21,7 +21,7 @@
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>Version_Number</name>
<name>version_number</name>
<description></description>
<defaultValue>V0.0.0</defaultValue>
<trim>false</trim>
......@@ -73,17 +73,17 @@ current_date=$(date +&quot;%Y%m%d&quot;)
git_short_hash=$(git rev-parse --short HEAD)
ipa_name=&quot;Hi365_SIT_${current_date}_${Version_Number}_${git_short_hash}.ipa&quot;
ipa_name=&quot;Hi365_SIT_${current_date}_${version_number}_${git_short_hash}.ipa&quot;
ipa_full_path=&quot;${project_path}/ios/Hi365_SIT_${current_date}_${Version_Number}_${git_short_hash}.ipa&quot;
ipa_full_path=&quot;${project_path}/ios/Hi365_SIT_${current_date}_${version_number}_${git_short_hash}.ipa&quot;
# Temporarily change xcode versino for fastlane
fastlane run xcversion version:&quot;11&quot;
# build ips
# build ipa
fastlane sit
# rename ipa to a identified one
# rename ipa
mv Runner.ipa ${ipa_name}
# deploy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment