Skip to content

Commit

Permalink
upgrade to FastRTPS v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex031544 committed Jun 2, 2020
1 parent d492959 commit 4a7c5ec
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,24 @@ if [ "$?" -ne 0 ];then
exit 4
fi


echo "Image geneneration succesfully."
read -p "Do you want to tag and push changes to git [yes/NO]: " choice
choice=${choice:-NO}
choice=${choice,,}

if [ "${choice}" == "yes" ]; then
echo "> git add Dockerfile dockerhub/* README.md" && \
git add Dockerfile dockerhub/* README.md && \
echo '> git commit -m "upgrade to FastRTPS ${TAG_FASTRTPS}"' && \
git commit -m "upgrade to FastRTPS ${TAG_FASTRTPS}" && \
git tag ${TAG_FASTRTPS} && \
echo "> git tag ${TAG_FASTRTPS} -f" && \
git tag ${TAG_FASTRTPS} -f && \
echo "> git tag latest -f" && \
git tag latest -f && \
git push && \
echo "> git push" && \
git push
echo "> git push --tags -f" && \
git push --tags -f
fi

0 comments on commit 4a7c5ec

Please sign in to comment.