]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
force push to ceph-releases 170/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 28 Oct 2015 15:04:30 +0000 (11:04 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 28 Oct 2015 15:04:30 +0000 (11:04 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/roles/ceph-release/tasks/main.yml

index e062fb7adf42aa1539747a8adc321bc4e5449c15..d86911b7f14b2a65f1b6a6a44e38692393036af9 100644 (file)
   # git tag -s "v{{ version }}"  -u 17ED316D -m "v{{ version }}" chdir=ceph
   command: git tag "v{{ version }}" -m "v{{ version }}" chdir=ceph
 
-- name: push changes to ceph-releases git repo
-  command: git push origin {{ branch }} chdir=ceph
+  # 'origin' in this case is ceph-releases, since this is our fork/copy of the
+  # official ceph repo it is ok to forcefully push "losing" changes. This may
+  # come up if we need to re-do a release which means doing a fresh commit to
+  # the debian changelog and rpm files and tagging.
+- name: force push changes to ceph-releases git repo
+  command: git push -f origin {{ branch }} chdir=ceph
 
 - name: push the newly created tag
   command: git push origin v{{ version }} chdir=ceph