Skip to content
Snippets Groups Projects
Commit c76b5652 authored by Tim Emiola's avatar Tim Emiola
Browse files

Use the release tag specified by the version

parent 7dde627a
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,13 @@ if [ -f /version.txt ]; then ...@@ -45,7 +45,13 @@ if [ -f /version.txt ]; then
pkg_version=$(cat /version.txt) pkg_version=$(cat /version.txt)
fi fi
version="${pkg_version}.0" version="${pkg_version}.0"
echo "Target release => $pkg_version" release_tag="release-${pkg_version//./_}"
echo "Target release => $pkg_version, will checkout tag $release_tag"
# Switch grpc_root to the release tag
pushd $grpc_root
git checkout $release_tag || { echo "bad release tag ${release_tag}"; exit 1; }
popd
if [ -f /.dockerinit ]; then if [ -f /.dockerinit ]; then
# We're in Docker where uname -p returns "unknown". # We're in Docker where uname -p returns "unknown".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment