Skip to content

Commit

Permalink
chore(release): create additional tags for go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Aug 5, 2020
1 parent 25a6a74 commit fa33423
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion script/git_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,17 @@ git branch -D ${target_staging} || true
git checkout -b ${target_staging}
git add * || true
git commit -a -m "Release ${target_version}"

git tag --force ${target_tag} ${target_staging}
git push --force ${target_remote} ${target_tag}
echo "Tag ${target_tag} pushed to ${target_remote}"

api_tag="/pkg/apis/camel/$target_tag"
git tag --force ${api_tag} ${target_staging}
git push --force ${target_remote} ${api_tag}
echo "Tag ${api_tag} pushed to ${target_remote}"

echo "Tag ${target_tag} pushed ${target_remote}"
client_tag="/pkg/client/camel/$target_tag"
git tag --force ${client_tag} ${target_staging}
git push --force ${target_remote} ${client_tag}
echo "Tag ${client_tag} pushed to ${target_remote}"

0 comments on commit fa33423

Please sign in to comment.