mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
🐛 Remove version suffix in layout
The docker image already has the suffix since this comes from the git tag
This commit is contained in:
parent
385d9e9e67
commit
3bf837595a
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ import { MobileNavigation } from "./standard-layout/mobile-navigation";
|
|||
const Feedback = dynamic(() => import("../feedback"), { ssr: false });
|
||||
|
||||
const appVersion = process.env.NEXT_PUBLIC_APP_VERSION
|
||||
? `v${process.env.NEXT_PUBLIC_APP_VERSION}`
|
||||
? process.env.NEXT_PUBLIC_APP_VERSION
|
||||
: null;
|
||||
|
||||
const AppVersion = () => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
export NEXT_PUBLIC_APP_VERSION=$(node -p "require('./package.json').version")
|
||||
echo "Set NEXT_PUBLIC_APP_VERSION=$NEXT_PUBLIC_APP_VERSION"
|
||||
echo "Set NEXT_PUBLIC_APP_VERSION=v$NEXT_PUBLIC_APP_VERSION"
|
||||
yarn build
|
||||
# Deploy migration using direct database connection (no connection pool)
|
||||
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy
|
||||
|
|
Loading…
Add table
Reference in a new issue