Closed Raffaello closed 2 years ago
this can be done remove the GitHubRelease pipeline and instead adding a 3rd stage to run only when there is a tag and branch is main.
so the normal pipeline basically will be run "always"
need to test the release stage now when releaseing... :)
at the moment only the windows release job is done on the main. that's ok. I don't want to run codecov on release branch. that's ok. but i need to upload the code from the main branch to codecov to work, that's not ok.
So need to refactor the jobs_ci and split it in 2 jobs so i can extend it to add the release tasks only in the release. otherwise make them conditional, but i don't want them to be displayed at all as tasks.
so the other job will be update codecov.
make also this 2 jobs dependant, first run debug, then release to avoid to upload the release in case the debug is failing.
git --no-pager show -s --format=%B v0.2.1
-ProjectUri <uri>
or in manifest file