chore: setup release branch
This commit is contained in:
@@ -3,6 +3,17 @@ version: 2.1
|
|||||||
orbs:
|
orbs:
|
||||||
node: circleci/node@4.1.0
|
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:
|
executors:
|
||||||
node-lts:
|
node-lts:
|
||||||
parameters:
|
parameters:
|
||||||
@@ -27,6 +38,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- node/install-packages
|
- node/install-packages
|
||||||
|
- setup_git_bot
|
||||||
- deploy:
|
- deploy:
|
||||||
name: Dry Release
|
name: Dry Release
|
||||||
command: |
|
command: |
|
||||||
@@ -37,6 +49,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- node/install-packages
|
- node/install-packages
|
||||||
|
- setup_git_bot
|
||||||
- deploy:
|
- deploy:
|
||||||
name: Release
|
name: Release
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user