mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Release v5.0.0-alpha.3 (#2623)
* v5.0.0-alpha.3 Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
e0c0e40b02
commit
0ae5e948c5
@ -62,6 +62,7 @@ jobs:
|
|||||||
WIN_CSC_KEY_PASSWORD: $(WIN_CSC_KEY_PASSWORD)
|
WIN_CSC_KEY_PASSWORD: $(WIN_CSC_KEY_PASSWORD)
|
||||||
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
||||||
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
||||||
|
BUILD_NUMBER: $(Build.BuildNumber)
|
||||||
- job: macOS
|
- job: macOS
|
||||||
pool:
|
pool:
|
||||||
vmImage: macOS-10.14
|
vmImage: macOS-10.14
|
||||||
@ -113,6 +114,7 @@ jobs:
|
|||||||
CSC_KEY_PASSWORD: $(CSC_KEY_PASSWORD)
|
CSC_KEY_PASSWORD: $(CSC_KEY_PASSWORD)
|
||||||
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
||||||
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
||||||
|
BUILD_NUMBER: $(Build.BuildNumber)
|
||||||
- job: Linux
|
- job: Linux
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: ubuntu-16.04
|
||||||
@ -170,6 +172,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
||||||
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
||||||
|
BUILD_NUMBER: $(Build.BuildNumber)
|
||||||
- script: make publish-npm
|
- script: make publish-npm
|
||||||
displayName: Publish npm package
|
displayName: Publish npm package
|
||||||
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
|
condition: "and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))"
|
||||||
|
|||||||
1
Makefile
1
Makefile
@ -65,6 +65,7 @@ integration-win: binaries/client build-extension-types build-extensions
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: node_modules binaries/client build-extensions
|
build: node_modules binaries/client build-extensions
|
||||||
|
yarn run npm:fix-build-version
|
||||||
yarn run compile
|
yarn run compile
|
||||||
ifeq "$(DETECTED_OS)" "Windows"
|
ifeq "$(DETECTED_OS)" "Windows"
|
||||||
yarn run electron-builder --publish onTag --x64 --ia32
|
yarn run electron-builder --publish onTag --x64 --ia32
|
||||||
|
|||||||
23
build/set_build_version.ts
Normal file
23
build/set_build_version.ts
Normal 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`);
|
||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "open-lens",
|
"name": "open-lens",
|
||||||
"productName": "OpenLens",
|
"productName": "OpenLens",
|
||||||
"description": "OpenLens - Open Source IDE for Kubernetes",
|
"description": "OpenLens - Open Source IDE for Kubernetes",
|
||||||
"version": "5.0.0-alpha.2",
|
"version": "5.0.0-alpha.3",
|
||||||
"main": "static/build/main.js",
|
"main": "static/build/main.js",
|
||||||
"copyright": "© 2021 OpenLens Authors",
|
"copyright": "© 2021 OpenLens Authors",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -21,6 +21,7 @@
|
|||||||
"compile:main": "yarn run webpack --config webpack.main.ts",
|
"compile:main": "yarn run webpack --config webpack.main.ts",
|
||||||
"compile:renderer": "yarn run webpack --config webpack.renderer.ts",
|
"compile:renderer": "yarn run webpack --config webpack.renderer.ts",
|
||||||
"compile:extension-types": "yarn run webpack --config webpack.extensions.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",
|
"npm:fix-package-version": "yarn run ts-node build/set_npm_version.ts",
|
||||||
"build:linux": "yarn run compile && electron-builder --linux --dir",
|
"build:linux": "yarn run compile && electron-builder --linux --dir",
|
||||||
"build:mac": "yarn run compile && electron-builder --mac --dir",
|
"build:mac": "yarn run compile && electron-builder --mac --dir",
|
||||||
|
|||||||
@ -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!
|
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
|
- Workspaces are replaced by Catalog & Hotbar
|
||||||
- YAML Templates in Create Resource dock tab
|
- YAML Templates in Create Resource dock tab
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user