Make release jobs run also when merging to master
The root cause of the bug was that using ANDs if the job is not in the
context of merge request (returning false) it'll never checked the
second clause, whether the current branch is master
.
We turn ANDs to Gitlab's if
rules
which makes these clause be
evaluated independently thus, logically turning the ANDs into ORs.
As docs explain in https://docs.gitlab.com/ee/ci/merge_request_pipelines/index.html#enable-pipelines-for-merge-requests-for-specific-jobs, this reads like list of situations where a specific job will be executed.
This left version 0.0.2 unpublished, so what I'll try next is merge this
MR and then, push a new tag called fix-0.0.2
. This should trigger all
the jobs in the pipeline but read the VERSION
of the package from
setup.py so publishing 0.0.2
in PyPi instead of fix-0.0.2
.