From 384f2f5ea636826a69581de83103ddb46ba0a429 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 21 Mar 2023 14:19:53 +0100 Subject: [PATCH] env --- .circleci/config.yml | 4 +++- apps/remix-ide/ci/publish_plugin.sh | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b10d1bb931..465e4b6345 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,9 @@ jobs: build-plugin: docker: - image: cimg/node:14.17.6-browsers - + environment: + COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" + COMMIT_AUTHOR: "Circle CI" resource_class: xlarge working_directory: ~/remix-project diff --git a/apps/remix-ide/ci/publish_plugin.sh b/apps/remix-ide/ci/publish_plugin.sh index bdd9e359df..c9662828f9 100755 --- a/apps/remix-ide/ci/publish_plugin.sh +++ b/apps/remix-ide/ci/publish_plugin.sh @@ -11,6 +11,7 @@ git clone git@github.com:ethereum/remix-plugins-directory.git npx ts-node apps/remix-ide/ci/publish_plugin.ts $1 $HASH alpha cd remix-plugins-directory +git checkout -b plugin-$1-$HASH git config user.name "$COMMIT_AUTHOR" git config user.email "$COMMIT_AUTHOR_EMAIL" git status