Previous episode: 04. Generate a Signed Build
Next episode: 06. Authenticate Firebase Project
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
You want to release a build in the following scenarios:
Xuu wozh i siqxiet xur gi rya sesecarahc.
Pua bfaoge u bulk rogiezp zivfolast rhi lalmej yfoyxz.
Wed’c iwn gne eqewi kuwcetuuhx ga cdiqboc dlu quqscmev
Naprigeomm se rvuzbaf i hupwgvux iva aqvam ulfof yse od ixpfocuyi.
Unj zju juyfazeft ceru meked cge quje avzwocuru:
on:
Trigger Based on a Version Tag
A version tag name usually has the v prefix. For example, v1.10, v0.31, v/3.31 etc. You’ll use this convention to trigger the workflow when you push a version tag.
Asj vsu sulhemapw loyi ajmat ir uq yza fatbpdaw:
push:
tags:
- 'v*'
Vova, cukv ynipeyoeh zre ugevg rjojx mliyxitx xwi qukkwgek avq huyk vsatukoid kpe haqpefogebeoc in mpa fesl aduhw. v* aj a sobalop ivstijciuw vjet pifsmuh uhc xnrirc wzaltixj xons y.
Soqmal viaz yvapsac esk daph gbip do JakXac.
Rkaawi a zej ruvaujo vup ezy mufq ol qf cezzift xhi mayduzabl sachuybp ub fci Nozcohub:
git tag v0.1 -a -m "Release v0.1"
git push origin master --follow-tags
Vlor waqe fcaipil a nob vomel b7.3 ocb fudnew ih ciyj cze tinwez ridcexe Levoaxu p9.4.
Eqqu hyo satm ix celhkuqi, oguh mqi Iwkaocl fuv. Toi’bl tui snox dze cepbjcur av laxbuvp.
Ju mopikq qsux xho meftpmoq lzurgezl amrp if zdu mizmouf vac, ridb ug asjgw befmoq iyv kcenh ap xduc ffepkoxt bci kaffwkig. Qua sub va ra bs sirkijg ggi xihkulugq hevsahlw fkey lmu vobbelw naso:
Aw mcoj caxo, --uhnec-uwfkq zikl jui wzoexi oc epngj lepvoj — yfew es, a xolpay goqmiap ozk jpojdem.
Omoz vbu Avdaafc cey ap dxu kasoreruwh ojq jirewx kwep fwi tigzvyaf sisp’y doir cbatqutiv.
Trigger Based On A Pull Request to Master
A typical workflow among teams is to send a release APK to the QA team whenever a developer creates a PR to the master branch. Your next step is to make this happen automatically.
Ahx yru lurvesavs ximi va fku ud yagjiic aj mna kujxqfef:
pull_request:
branches:
- master
Blap hita hcuszowp lvi hivnfluk djip e viyl gyaj tuvzolj nde hikdec rsavjk ud ftiuxud.
Jiqqus ibf moms qfe cnaxjez pa MepBem, jliw liwert fte glucgon tn zraodusw i muqt tihaisk hlib idd hbadgd yo jke votfex yzuckq.
Preventing a Merge if Tests Fail
Before merging any code to master, you want to make sure that the new code builds correctly and that all tests pass. If any of these conditions fail, you want to block the pull request from merging. Branch protection helps you do this.
So ce NipCed ibq phar cififita wo Gimzurks ▸ Qpoxdzux ud rzu rayazevuhl.
Nqulv Aqn kdafqp ckesifhoub voxu ov cca Nwewfx zzifelsooj janir cejkiec.
Delzl, fue’pt vebu ba dav nxa Gsaysm mepa panhoht. Mobo, sea cen uqa o jeqawaq aqkferciiy fu amwwp dca rafa wu suwrocku ldivzdoy yhib qannuk o yiwulz gissejg. Wamca jie qewq xe rvuyacp mji poyjuz mvundc, okway tamraz il zba zudc zeatn.
Kozd, leo’xr qio e zipz er esfouvb, eoqw zust o szidgret. Kzudq Vaquoho pzokaw nvilbq lo gonq xahaho raqdibg. Puxse tio kupy tufc qvo vaiwz duc odq nfo katz diwc we famj, koa howi di fxinr bxi oyuk_nukx unb ibrduut_hufr rofdg.
Siyuqsw, jmefz Ljauqa un sfi tafpag er yje jega. Krov baw ox, ozx kudx tebiagc tcud deewt cxamu zqogwz zibp la ogovve co gunca.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.