You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
derive_version - gets new version number for project depending on commits
commit_version - update the podspec file with above version number and commit the changes
create_release - create new release artefacts
create_artefacts - creates artefacts using updated podspec file
The issue is even if I commit the version number in commit_version job the create_release job gets the old podspec file and so it uses old version number to create release artefacts.
One way to solve this is to have 2 pipelines
with derive_verison and commit_version job
with create_release and create_artefacts job
But I want to do this in same pipeline. How can I do this in same pipeline ?
Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
Hello
In my release pipeline their are 4 jobs -
derive_version
- gets new version number for project depending on commitscommit_version
- update the podspec file with above version number and commit the changescreate_release
- create new release artefactscreate_artefacts
- creates artefacts using updated podspec fileThe issue is even if I commit the version number in
commit_version
job thecreate_release
job gets the old podspec file and so it uses old version number to create release artefacts.One way to solve this is to have 2 pipelines
derive_verison
andcommit_version
jobcreate_release
andcreate_artefacts
jobBut I want to do this in same pipeline. How can I do this in same pipeline ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions