Skip to content

Commit

Permalink
feat(prisma): upgrade prisma to 5.1.0 (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Aug 2, 2023
1 parent e719fa8 commit 4b2c066
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions binaries/binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (
)

// PrismaVersion is a hardcoded version of the Prisma CLI.
const PrismaVersion = "5.0.0"
const PrismaVersion = "5.1.0"

// EngineVersion is a hardcoded version of the Prisma Engine.
// The versions can be found under https://github.com/prisma/prisma-engines/commits/main
const EngineVersion = "6b0aef69b7cdfc787f822ecd7cdc76d5f1991584"
const EngineVersion = "a9b7003df90aa623086e4d6f4e43c72468e6339b"

// PrismaURL points to an S3 bucket URL where the CLI binaries are stored.
var PrismaURL = "https://packaged-cli.prisma.sh/%s-%s-%s-%s.gz"
Expand Down
4 changes: 3 additions & 1 deletion binaries/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ mv prisma-macos-arm64 "out/prisma-cli-$version-darwin-arm64"
mv prisma-linuxstatic-arm64 "out/prisma-cli-$version-linux-arm64"
mv prisma-win-arm64.exe "out/prisma-cli-$version-windows-arm64.exe"

rm -r out/
cd out/

gzip -f "prisma-cli-$version-darwin-x64"
Expand All @@ -67,4 +66,7 @@ aws s3 cp . "s3://$S3_BUCKET" --recursive --acl public-read
touch "$processed_name"
aws s3 cp "$processed_name" "s3://$S3_BUCKET" --acl public-read

cd ..
rm -r out/

echo "Successfully published Prisma CLI $version"

0 comments on commit 4b2c066

Please sign in to comment.