mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-18 19:36:22 +02:00
🐛 Format version in production build script
This commit is contained in:
parent
1c59af7510
commit
8f4da48f7c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
export NEXT_PUBLIC_APP_VERSION=$(node -p "require('./package.json').version")
|
export NEXT_PUBLIC_APP_VERSION=v$(node -p "require('./package.json').version")
|
||||||
echo "Set NEXT_PUBLIC_APP_VERSION=v$NEXT_PUBLIC_APP_VERSION"
|
echo "Set NEXT_PUBLIC_APP_VERSION=$NEXT_PUBLIC_APP_VERSION"
|
||||||
yarn build
|
yarn build
|
||||||
# Deploy migration using direct database connection (no connection pool)
|
# Deploy migration using direct database connection (no connection pool)
|
||||||
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy
|
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue