mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 08:28:35 +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 Feedback = dynamic(() => import("../feedback"), { ssr: false });
|
||||||
|
|
||||||
const appVersion = process.env.NEXT_PUBLIC_APP_VERSION
|
const appVersion = process.env.NEXT_PUBLIC_APP_VERSION
|
||||||
? `v${process.env.NEXT_PUBLIC_APP_VERSION}`
|
? process.env.NEXT_PUBLIC_APP_VERSION
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
const AppVersion = () => {
|
const AppVersion = () => {
|
||||||
|
|
|
@ -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=$(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
|
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