8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d6070 commit 951fc87Copy full SHA for 951fc87
Makefile
@@ -51,7 +51,7 @@ nopyc:
51
find . -name \*.pyc -delete
52
53
API_DEFINITIONS_SHA=$(shell git log --oneline | grep Regenerated | head -n1 | cut -d ' ' -f 5)
54
-CURRENT_TAG=$(shell [[ "${GITHUB_TAG}" == *"-rc"* ]] && echo "rc" || echo "latest")
+CURRENT_TAG=$(shell expr "${GITHUB_TAG}" : ".*-rc.*" >/dev/null && echo "rc" || echo "latest")
55
docker-build:
56
docker build -t twilio/twilio-python .
57
docker tag twilio/twilio-python twilio/twilio-python:${GITHUB_TAG}
0 commit comments