Versioning: INBUXA Admin's own dated version, with the WebUI base shown
inbuxa-version.json holds INBUXA's version. package.json keeps upstream's so its bumps merge cleanly. The top bar reads "INBUXA Admin 2026.9.18 (WebUI 1.0.11)".
This commit is contained in:
@@ -46,6 +46,12 @@ git fetch upstream --tags
|
|||||||
git merge v1.0.12 # the next release tag
|
git merge v1.0.12 # the next release tag
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Versions
|
||||||
|
|
||||||
|
INBUXA Admin has its own dated version (`inbuxa-version.json`), shown with the
|
||||||
|
WebUI release it's based on: `INBUXA Admin 2026.9.18 (WebUI 1.0.11)`.
|
||||||
|
`package.json` keeps upstream's version, so upstream's bumps merge cleanly.
|
||||||
|
|
||||||
## License and credits
|
## License and credits
|
||||||
|
|
||||||
Free software under the [GNU Affero General Public License, version 3](./LICENSES/AGPL-3.0-only.txt).
|
Free software under the [GNU Affero General Public License, version 3](./LICENSES/AGPL-3.0-only.txt).
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"version": "2026.9.18"
|
||||||
|
}
|
||||||
@@ -88,7 +88,7 @@ export function TopBar() {
|
|||||||
</Link>
|
</Link>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent side="bottom">
|
<TooltipContent side="bottom">
|
||||||
{t('version.label', 'INBUXA Admin v{{version}}', { version: __APP_VERSION__ })}
|
{t('version.label', 'INBUXA Admin {{version}}', { version: __APP_VERSION__ })}
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
|
|||||||
+1
-1
@@ -303,7 +303,7 @@
|
|||||||
},
|
},
|
||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
"version": {
|
"version": {
|
||||||
"label": "INBUXA Admin v{{version}}"
|
"label": "INBUXA Admin {{version}}"
|
||||||
},
|
},
|
||||||
"oauth": {
|
"oauth": {
|
||||||
"backToLogin": "Back to login",
|
"backToLogin": "Back to login",
|
||||||
|
|||||||
+4
-1
@@ -5,11 +5,14 @@ import react from '@vitejs/plugin-react'
|
|||||||
import tailwindcss from '@tailwindcss/vite'
|
import tailwindcss from '@tailwindcss/vite'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { version } from './package.json' with { type: 'json' }
|
import { version } from './package.json' with { type: 'json' }
|
||||||
|
// INBUXA's own dated version lives apart from package.json, whose version
|
||||||
|
// follows upstream WebUI so its bumps merge without conflicts.
|
||||||
|
import inbuxa from './inbuxa-version.json' with { type: 'json' }
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: './',
|
base: './',
|
||||||
define: {
|
define: {
|
||||||
__APP_VERSION__: JSON.stringify(version),
|
__APP_VERSION__: JSON.stringify(`${inbuxa.version} (WebUI ${version})`),
|
||||||
},
|
},
|
||||||
plugins: [react(), tailwindcss()],
|
plugins: [react(), tailwindcss()],
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Reference in New Issue
Block a user