mirror of
https://github.com/microsoft/playwright-java.git
synced 2026-03-31 11:52:44 +00:00
fix: docker publishing (#851)
This commit is contained in:
parent
5faf1b028a
commit
6ae0df89fa
@ -14,7 +14,7 @@ PW_VERSION="${TAG_NAME#v}"
|
||||
|
||||
RELEASE_CHANNEL="$1"
|
||||
if [[ "${RELEASE_CHANNEL}" == "stable" ]]; then
|
||||
if [[ ! "${PW_VERSION}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
if [[ ! "${PW_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "ERROR: cannot publish stable docker with Playwright version '${PW_VERSION}'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user