Skip to content

Commit

Permalink
fix: docker publishing (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Mar 15, 2022
1 parent 5faf1b0 commit 6ae0df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/docker/publish_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ae0df8

Please sign in to comment.