Open deepbrook opened 6 years ago
110.1 and 110.3 aren't possible with travis, since originating branches are not available when a tag is pushed.
However, since we can access the tag name with $TRAVIS_TAG
we can simply check this, in order to deduce what kind of deploy should be issued.
Release-Candidates
, suffixed withrc
, by using a tag suffixedrc
toorigin
(git push origin <tag>
)Workflow: In my local git repo, on the
dev
branch, I tag a new release candidate version, and push this tag upstream. I do not modify thesetup.py
version.The reason for this is because I tend to forget bumping the version number in setup.py when doing multiple deploys in a short-time. To circumvent this issue, we only deploy on a pushed tag as a failsafe, and take the tag name directly as version name. That also means, that the
release
branch will always stay the same for the lifetime of the branch.setup.py
and suffixing it with the current YearMonthDay when building via cronjob, once a day.Workflow
master
by using the setup.py when a tag is pushed frommaster
toorigin
(standard upload procedure).Workflow In my local git repo, on the
master
branch, I tag a new release version, and push this tag upstream. I modify thesetup.py
version to match the branch.