Skip to content

Commit b3ab2bb

Browse files
committed
Export environment variables that are ready by deploy-webstore.py
1 parent ede95ef commit b3ab2bb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
88
PREFIX ?= $(shell pwd)
99
BIN_DIR ?= $(PREFIX)/bin
1010

11-
EXTENSION_ID = eechpbnaifiimgajnomdipfaamobdfha
12-
EXTENSION_ZIP = $(BIN_DIR)/chrome-ssh-agent.zip
13-
PUBLISH_TARGET = trustedTesters
11+
# These are read by deploy-webstore.py, so must be exported.
12+
export EXTENSION_ID = eechpbnaifiimgajnomdipfaamobdfha
13+
export EXTENSION_ZIP = $(BIN_DIR)/chrome-ssh-agent.zip
14+
export PUBLISH_TARGET = trustedTesters
1415

1516
# Finding node-gyp requires going up one level and then querying. We do not want
1617
# to find our own node_modules directory.

deploy-webstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def publish(token, extension_id, publish_target):
7070

7171
def main():
7272
extension_id = os.environ['EXTENSION_ID']
73-
file_path = os.environ['EXTENSION_ZIP_PATH']
73+
file_path = os.environ['EXTENSION_ZIP']
7474
publish_target = os.environ['PUBLISH_TARGET']
7575

7676
token = getToken()

0 commit comments

Comments
 (0)