1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

v5.0.0-alpha.3

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-04-26 13:12:16 +03:00
parent bcdc0243f4
commit c32b0bed9c
4 changed files with 27 additions and 2 deletions

View File

@ -65,6 +65,7 @@ integration-win: binaries/client build-extension-types build-extensions
.PHONY: build
build: node_modules binaries/client build-extensions
yarn run npm:fix-build-version
yarn run compile
ifeq "$(DETECTED_OS)" "Windows"
yarn run electron-builder --publish onTag --x64 --ia32

View File

@ -0,0 +1,23 @@
import * as fs from "fs";
import * as path from "path";
import appInfo from "../package.json";
import semver from "semver";
const packagePath = path.join(__dirname, "../package.json");
const versionInfo = semver.parse(appInfo.version);
const buildNumber = process.env.BUILD_NUMBER || "1";
let buildChannel = "alpha";
if (versionInfo.prerelease) {
if (versionInfo.prerelease.includes("alpha")) {
buildChannel = "alpha";
} else {
buildChannel = "beta";
}
appInfo.version = `${versionInfo.major}.${versionInfo.minor}.${versionInfo.patch}-${buildChannel}.${versionInfo.prerelease[1]}.${buildNumber}`;
} else {
appInfo.version = `${appInfo.version}-latest.${buildNumber}`;
}
fs.writeFileSync(packagePath, `${JSON.stringify(appInfo, null, 2)}\n`);

View File

@ -2,7 +2,7 @@
"name": "open-lens",
"productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes",
"version": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"main": "static/build/main.js",
"copyright": "© 2021 OpenLens Authors",
"license": "MIT",
@ -21,6 +21,7 @@
"compile:main": "yarn run webpack --config webpack.main.ts",
"compile:renderer": "yarn run webpack --config webpack.renderer.ts",
"compile:extension-types": "yarn run webpack --config webpack.extensions.ts",
"npm:fix-build-version": "yarn run ts-node build/set_build_version.ts",
"npm:fix-package-version": "yarn run ts-node build/set_npm_version.ts",
"build:linux": "yarn run compile && electron-builder --linux --dir",
"build:mac": "yarn run compile && electron-builder --mac --dir",

View File

@ -2,7 +2,7 @@
Here you can find description of changes we've built into each release. While we try our best to make each upgrade automatic and as smooth as possible, there may be some cases where you might need to do something to ensure the application works smoothly. So please read through the release highlights!
## 5.0.0-alpha.2 (current version)
## 5.0.0-alpha.3 (current version)
- Workspaces are replaced by Catalog & Hotbar
- YAML Templates in Create Resource dock tab