Skip to content

Commit

Permalink
👷 Pushing to Git occurs only after successful build and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
noyshabtay committed Dec 20, 2023
1 parent 48f9322 commit 2ac0f38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release/pipelines.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ pipelines:
- sed -i "s/\(version=\).*\$/\1${NEXT_VERSION}/" gradle.properties
- git commit -am "[artifactory-release] Release version ${NEXT_VERSION} [skipRun]" --allow-empty
- git tag ${NEXT_VERSION}
- git push
- git push --tags

# Run build and publish
- >
Expand All @@ -81,3 +79,4 @@ pipelines:
- sed -i "s/\(version=\).*\$/\1${NEXT_DEVELOPMENT_VERSION}/" gradle.properties
- git commit -am "[artifactory-release] Next development version [skipRun]"
- git push
- git push --tags

0 comments on commit 2ac0f38

Please sign in to comment.