mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
temp: re-add alpha1 to package.json
This commit is contained in:
parent
d4709f2f63
commit
a70688542c
2 changed files with 8 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
"dashboarding"
|
||||
],
|
||||
"private": true,
|
||||
"version": "7.0.0",
|
||||
"version": "7.0.0-alpha1",
|
||||
"branch": "master",
|
||||
"types": "./target/types/type_exports.d.ts",
|
||||
"build": {
|
||||
|
|
|
@ -33,7 +33,13 @@ async function getBuildNumber() {
|
|||
}
|
||||
|
||||
export async function getVersionInfo({ isRelease, versionQualifier, pkg }) {
|
||||
const buildVersion = pkg.version.concat(
|
||||
// TODO: revert after snapshot builds drop version qualifier
|
||||
// kibana fetches elasticsearch's version based on kibana's version
|
||||
// if we drop alpha1 before elasticsearch does we won't have a build to run
|
||||
// tests against
|
||||
const version = pkg.version.replace('-alpha1', '');
|
||||
|
||||
const buildVersion = version.concat(
|
||||
versionQualifier ? `-${versionQualifier}` : '',
|
||||
isRelease ? '' : '-SNAPSHOT'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue