Skip to content

Commit 7f125c1

Browse files
authored
CI Enhancement: Push to Git After Successful Build and Publish (#155)
1 parent 2b9e92a commit 7f125c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

release/pipelines.release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ pipelines:
6060
- sed -i "s/\(version=\).*\$/\1${NEXT_VERSION}/" gradle.properties
6161
- git commit -am "[artifactory-release] Release version ${NEXT_VERSION} [skipRun]" --allow-empty
6262
- git tag ${NEXT_VERSION}
63-
- git push
64-
- git push --tags
6563

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

0 commit comments

Comments
 (0)