Подготовил к сборке 3 конфигураций
This commit is contained in:
parent
7043276c9c
commit
3d7a40dd23
|
|
@ -1,7 +1,19 @@
|
|||
restore from backup
|
||||
create backup
|
||||
|
||||
inside 'BuildSample/BuildSample.sln' remove 'CoolApp:NotCompileApp:Domain' project
|
||||
|
||||
inside 'BuildSample/BuildSample/CoolApp.csproj' set OutputPath to 'Output' for '{@sln_config}'
|
||||
|
||||
inside 'BuildSample/DroidApp/Properties/AndroidManifest.xml' set android:versionCode to '17'
|
||||
inside 'BuildSample/DroidApp/Properties/AndroidManifest.xml' set android:versionName to '1.2.3'
|
||||
|
||||
clean 'BuildSample/BuildSample.sln' for '{@sln_config}'
|
||||
sign android 'BuildSample/BuildSample.sln' for '{@sln_config}' project 'DroidApp'
|
||||
|
||||
create dirs 'Output/GooglePlay/Artifacts'
|
||||
copy 'BuildSample/DroidApp/Output/*.apk' to 'Output/GooglePlay/Artifacts'
|
||||
sh cp -a BuildSample/DroidApp/Output/ Output/GooglePlay/
|
||||
|
||||
restore from backup
|
||||
delete backup
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# restore from backup # восстанавливаем из бэкапа (исходники от сборки предыдущей конфигурации могут быть модифицированными)
|
||||
# create backup
|
||||
restore from backup # восстанавливаем из бэкапа (исходники от сборки предыдущей конфигурации могут быть модифицированными)
|
||||
create backup
|
||||
|
||||
sh echo '{@sln_config}'
|
||||
sh echo 'Hello from setup.txt'
|
||||
|
||||
inside 'BuildSample/BuildSample.sln' remove 'NotCompileApp:DroidApp' project
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ create dirs 'Output/Appstore/Artifacts'
|
|||
copy 'BuildSample/BuildSample/Output/{@assembly_name}-{@version}.ipa' to 'Output/Appstore/Artifacts'
|
||||
sh cp -a BuildSample/BuildSample/Output/ Output/Appstore/
|
||||
|
||||
publish 'Output/Appstore/Artifacts/{@assembly_name}-{@version}.ipa' to testflight notes = 'Hello' api_token = '{@tf_api_token}' team_token = '{@tf_team_token}'
|
||||
#publish 'Output/Appstore/Artifacts/{@assembly_name}-{@version}.ipa' to testflight notes = 'Hello' api_token = '{@tf_api_token}' team_token = '{@tf_team_token}'
|
||||
|
||||
#restore from backup
|
||||
#delete backup
|
||||
restore from backup
|
||||
delete backup
|
||||
|
|
@ -3,11 +3,10 @@ build_tool='/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool'
|
|||
version=0.0.0 # комментарий в тойже строке
|
||||
configs = 'appstore, staging, android'
|
||||
project_name = CoolApp
|
||||
sln_config = Release|iPhone
|
||||
backup_ignore = .git, .gitignore, .DS_Store, backup, artifacts
|
||||
backup_ignore = .git, .gitignore, .DS_Store, backup, Output
|
||||
|
||||
# ios platform settings
|
||||
#ios.steps = 'scripts/IosSteps.txt'
|
||||
ios.sln_config = Release|iPhone
|
||||
ios.setup_steps = 'IosSetupSteps.txt'
|
||||
ios.assembly_name = 'CoolApp'
|
||||
|
||||
|
|
@ -15,6 +14,7 @@ ios.tf_api_token = '0e6925075d4fc10fed0e7bbf43fa6894_NjQ0OTI2MjAxMi0wOS0yNSAxMTo
|
|||
ios.tf_team_token = 'c5c3cf7a6dae2bea4382dfbd181a2075_Mjc4ODkwMjAxMy0wOS0yOSAxNDowOTo1OC40Mzg5MTY'
|
||||
|
||||
# android platform settings
|
||||
android.sln_config = Release
|
||||
android.steps = 'scripts/AndroidSteps.txt'
|
||||
|
||||
# config settings
|
||||
|
|
|
|||
Loading…
Reference in New Issue