In a pipeline with:
- put: git-repo
params:
repository: git-repo
tag: git-tag/tag.txt
tag_only: true
You use the following command:
push_tags() {
git push --tags push-target $forceflag
}
Which can result in trying to push all tags, and also push branches.
Instead you should push just the specific tag.
For example:
push_tags() {
git push push-target $tag_name $forceflag
}
In a pipeline with:
You use the following command:
Which can result in trying to push all tags, and also push branches.
Instead you should push just the specific tag.
For example: