diff --git a/docker/.env-template-dev b/docker/.env-template-dev index f1a313c0..518f1db6 100644 --- a/docker/.env-template-dev +++ b/docker/.env-template-dev @@ -1,4 +1,3 @@ -PUBLIC_POCKETHOST_VERSION=0.5.2 PUBLIC_APP_PROTOCOL=https PUBLIC_APP_DOMAIN=pockethost.test PUBLIC_PB_PROTOCOL=https diff --git a/docker/.env-template-prod b/docker/.env-template-prod index 1cb71cfa..a7abe3c0 100644 --- a/docker/.env-template-prod +++ b/docker/.env-template-prod @@ -1,4 +1,3 @@ -PUBLIC_POCKETHOST_VERSION=0.5.2 PUBLIC_APP_PROTOCOL=https PUBLIC_APP_DOMAIN=pockethost.io PUBLIC_PB_PROTOCOL=https diff --git a/package.json b/package.json index babe9995..50d9592c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pockethost", - "version": "0.2.0", + "version": "0.5.2", "author": "Ben Allfree ", "license": "MIT", "private": true, diff --git a/packages/pockethost.io/src/env.ts b/packages/pockethost.io/src/env.ts index e8a9fa34..543ae92e 100644 --- a/packages/pockethost.io/src/env.ts +++ b/packages/pockethost.io/src/env.ts @@ -1,10 +1,12 @@ import { env } from '$env/dynamic/public' +import base from '../../../package.json' export const { PUBLIC_PB_DOMAIN, PUBLIC_PB_SUBDOMAIN, PUBLIC_APP_DOMAIN, PUBLIC_APP_PROTOCOL, - PUBLIC_PB_PROTOCOL, - PUBLIC_POCKETHOST_VERSION + PUBLIC_PB_PROTOCOL } = env + +export const PUBLIC_POCKETHOST_VERSION = base.version diff --git a/readme.md b/readme.md index f10cb259..2d88950f 100644 --- a/readme.md +++ b/readme.md @@ -136,6 +136,9 @@ open https://pockethost.io **next** +- [x] Chore: move version number to base package.json +- [ ] Chore: refactor logging and async helpers +- [ ] Chore: restore autocancellation - [x] Chore: rebuild with go 1.19.3 and include in bin name - [ ] Bugfix: Disallow backups if data dir doesn't exist