Skip to content

Commit

Permalink
Try to delete tag before tagging with git-resource
Browse files Browse the repository at this point in the history
Delete the tag locally if needed, only push tags to delete, then retag
with git-resource.
  • Loading branch information
h4xnoodle committed Aug 26, 2019
1 parent 0ea98d9 commit 4ea0173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,17 @@ jobs:
- put: compiled-releases
params:
file: "compiled-release/*.tgz"
- put: bosh-deployment-tags
resource: bosh-deployment
params:
repository: bosh-deployment
#rebase: true
only_tag: true
- put: bosh-deployment
params:
repository: bosh-deployment
rebase: true
tag: bosh-release/version

- name: compile-bpm-release
plan:
Expand Down
1 change: 0 additions & 1 deletion ci/tasks/update-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ pushd $PWD/bosh-deployment-output

if [[ `git tag -l | grep $VERSION` ]]; then
git tag -d $VERSION
git tag $VERSION
fi
popd

0 comments on commit 4ea0173

Please sign in to comment.