build: use a hook for the version

This commit is contained in:
Mazen Touati
2026-01-13 02:22:32 +01:00
parent cbd690a272
commit a9e4e121ad
2 changed files with 3 additions and 7 deletions

View File

@@ -3,12 +3,7 @@
".": {
"release-type": "node",
"extra-files": [
{
"type": "regex",
"path": "resources/js/pages/Settings.vue",
"template": "const VERSION = 'v${version}';",
"glob": "const VERSION = 'v.*';"
}
"resources/js/pages/Settings.vue"
]
}
}

View File

@@ -28,7 +28,8 @@ defineOptions({
name: 'SettingsPage',
});
const VERSION = 'v0.3.0-alpha';
const VERSION = 'v0.3.0-alpha'; // x-release-please-version
/*
* Stores.