build: use a hook for the version
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ defineOptions({
|
||||
name: 'SettingsPage',
|
||||
});
|
||||
|
||||
const VERSION = 'v0.3.0-alpha';
|
||||
const VERSION = 'v0.3.0-alpha'; // x-release-please-version
|
||||
|
||||
|
||||
/*
|
||||
* Stores.
|
||||
|
||||
Reference in New Issue
Block a user