mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Merge branch 'development' of https://github.com/plebbit/plebchan into development
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# scripts/deploy.sh env
|
||||
.deploy-env
|
||||
|
||||
# electron builder binaries
|
||||
/bin
|
||||
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# add env vars
|
||||
if [ -f ../.env ]; then
|
||||
export $(echo $(cat ../.env | sed 's/#.*//g'| xargs) | envsubst)
|
||||
if [ -f ../.deploy-env ]; then
|
||||
export $(echo $(cat ../.deploy-env | sed 's/#.*//g'| xargs) | envsubst)
|
||||
fi
|
||||
|
||||
# check creds
|
||||
|
||||
@@ -9,6 +9,8 @@ import OfflineIndicator from '../OfflineIndicator';
|
||||
import packageJson from '../../../package.json'
|
||||
import { Tooltip } from 'react-tooltip';
|
||||
const {version} = packageJson
|
||||
// show commit ref on netlify to know which commit is being served for debugging
|
||||
const commitRef = process?.env?.REACT_APP_COMMIT_REF ? ` ${process.env.REACT_APP_COMMIT_REF.slice(0, 7)}` : ''
|
||||
|
||||
|
||||
const Home = () => {
|
||||
@@ -184,7 +186,7 @@ const Home = () => {
|
||||
fontSize: "11px",
|
||||
marginBottom: "2em",
|
||||
}}>
|
||||
plebchan v{version}. GPL-2.0
|
||||
plebchan v{version}{commitRef}. GPL-2.0
|
||||
</div>
|
||||
</Container>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user