1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-04-16 10:41:46 +03:00
parent d3a35bb29d
commit 90a42d66cf
2 changed files with 43 additions and 2 deletions

View File

@ -65,10 +65,11 @@ integration-win: binaries/client build-extension-types build-extensions
.PHONY: build
build: node_modules binaries/client build-extensions
yarn run compile
ifeq "$(DETECTED_OS)" "Windows"
yarn dist:win
./node_modules/.bin/electron-builder --publish onTag --x64 --ia32
else
yarn dist
./node_modules/.bin/electron-builder --publish onTag
endif
$(extension_node_modules):

40
build/package.json.patch Normal file
View File

@ -0,0 +1,40 @@
diff --git a/package.json b/package.json
index 749365aa8..a8395ffba 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
- "name": "open-lens",
- "productName": "OpenLens",
- "description": "OpenLens - The Kubernetes IDE",
+ "name": "lens",
+ "productName": "Lens",
+ "description": "Lens - The Kubernetes IDE",
"version": "5.0.0-alpha.1",
"main": "static/build/main.js",
"copyright": "© 2021, Mirantis, Inc.",
@@ -107,6 +107,7 @@
"target": [
"deb",
"rpm",
+ "snap",
"AppImage"
],
"extraResources": [
@@ -160,6 +161,16 @@
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
+ "snap": {
+ "confinement": "classic"
+ },
+ "publish": [
+ {
+ "provider": "s3",
+ "bucket": "lens-binaries",
+ "path": "/ide"
+ }
+ ],
"protocols": {
"name": "Lens Protocol Handler",
"schemes": [