Skip to content

Commit

Permalink
temp: re-add alpha1 to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Oct 17, 2018
1 parent d4709f2 commit a706885
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
8 changes: 7 additions & 1 deletion src/dev/build/lib/version_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
Expand Down

0 comments on commit a706885

Please sign in to comment.