diff --git a/cli/packages/prisma-yml/README.md b/cli/packages/prisma-yml/README.md index 2f9cc5bf43..6937dbb5fe 100644 --- a/cli/packages/prisma-yml/README.md +++ b/cli/packages/prisma-yml/README.md @@ -150,3 +150,4 @@ Your feedback is **very helpful**, please share your opinion and thoughts! * [Report a bug](https://github.com/graphcool/prisma/issues/new) * [Participate in existing discussions](https://github.com/graphcool/prisma/issues) + diff --git a/cli/scripts/publish.sh b/cli/scripts/publish.sh index d6a953e4e1..3312289162 100755 --- a/cli/scripts/publish.sh +++ b/cli/scripts/publish.sh @@ -44,7 +44,15 @@ fi latestVersion=$(npm info prisma version) tag=${CIRCLE_TAG:-$latestVersion} tagElements=(${tag//./ }) -nextDockerTag="${tagElements[0]}.${tagElements[1]}" +nextDockerMinor=${tagElements[1]} +if [[ $CIRCLE_TAG ]]; then + nextDockerTag="${tagElements[0]}.${nextDockerMinor}" +else + #TODO: add when backend releases are ready + #step=1 + #nextDockerMinor=$((nextDockerMinor + step)) + nextDockerTag="${tagElements[0]}.${nextDockerMinor}-beta" +fi node cli/scripts/waitUntilTagPublished.js $nextDockerTag