mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 07:15:20 +03:00
allow setting version using SYNAPSE_ADMIN_VERSION
env var on build (if git is not available)
This commit is contained in:
parent
7afce71bef
commit
a613a88232
2 changed files with 2 additions and 1 deletions
|
@ -86,6 +86,7 @@ with a proper manifest.json generation on build)
|
|||
* [Enable visual customization](https://github.com/etkecc/synapse-admin/pull/81)
|
||||
* [Fix room state events display](https://github.com/etkecc/synapse-admin/pull/100)
|
||||
* [Sanitize CSV on import](https://github.com/etkecc/synapse-admin/pull/101)
|
||||
* Allow setting version using `SYNAPSE_ADMIN_VERSION` environment variable on build (if git is not available)
|
||||
|
||||
_the list will be updated as new changes are added_
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ export default defineConfig({
|
|||
react(),
|
||||
vitePluginVersionMark({
|
||||
name: "Synapse Admin",
|
||||
command: "git describe --tags || git rev-parse --short HEAD || echo 'unknown'",
|
||||
command: 'git describe --tags || git rev-parse --short HEAD || echo "${SYNAPSE_ADMIN_VERSION:-unknown}"',
|
||||
ifMeta: false,
|
||||
ifLog: false,
|
||||
ifGlobal: true,
|
||||
|
|
Loading…
Reference in a new issue