Skip to content

Commit

Permalink
build: fetch before pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyajeet Hora committed Feb 8, 2019
1 parent cc9f815 commit 5d211ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/cut_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ setup_remote() {
fetch_and_prune_tags() {
# Fetch from release remote and prune tags
printf "${blue}Fetching release remote and pruning tags...${end}"
git fetch release || return 1
git fetch release --prune 'refs/tags/*:refs/tags/*' || return 1
printf "${green}Fetched and pruned tags!${end}"
}
Expand Down

0 comments on commit 5d211ea

Please sign in to comment.