This is an automated email from the ASF dual-hosted git repository.

donaldp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildr.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dec569  Ensure we push tags as part of the release process
     new 8c35881  Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/buildr into master
1dec569 is described below

commit 1dec569aa2f4a7fc1011a156b356696ecf4a058b
Author: Peter Donald <pe...@realityforge.org>
AuthorDate: Sat Oct 10 13:57:53 2020 +1100

    Ensure we push tags as part of the release process
---
 rakelib/release.rake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rakelib/release.rake b/rakelib/release.rake
index ae19ce3..cf41c97 100644
--- a/rakelib/release.rake
+++ b/rakelib/release.rake
@@ -70,6 +70,7 @@ task 'release' do
       sh 'git', 'tag', '-m', "'Release #{spec.version}'", spec.version.to_s do 
|ok, res|
         if ok
           puts "[X] Tagged this release as #{spec.version} ... "
+          sh 'git', 'push', '--tags'
         else
           puts 'Could not create tag, please do it yourself!'
           puts %{  git tag -m "Release #{spec.version}" #{spec.version} }

Reply via email to