From e7c5f8331148d45f40cd2c731b71bcb5b9b2504d Mon Sep 17 00:00:00 2001 From: Matt Forster Date: Wed, 16 Dec 2020 15:07:06 -0700 Subject: [PATCH] chore: setup release branch --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 878fc50..ce9b768 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,17 @@ version: 2.1 orbs: node: circleci/node@4.1.0 +commands: + setup_git_bot: + description: set up the bot git user to make changes + steps: + - run: + name: "Git: Botovance" + command: | + git config --global user.name "Bot Vance" + git config --global user.email bot@autovance.com + git branch -u "origin/${CIRCLE_BRANCH}" + executors: node-lts: parameters: @@ -27,6 +38,7 @@ jobs: steps: - checkout - node/install-packages + - setup_git_bot - deploy: name: Dry Release command: | @@ -37,6 +49,7 @@ jobs: steps: - checkout - node/install-packages + - setup_git_bot - deploy: name: Release command: |