Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlas Plugin

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev auto-plugin-atlas
# or
yarn add -D auto-plugin-atlas

Usage

{
  "plugins": [
    "atlas"
    // other plugins
  ]
}

Use with custom script

{
  "plugins": [
    ["atlas", {"publishScript":"./scripts/on-release.sh"}]
    // other plugins
  ]
}

Sample custom script to keep develop up to date with the base branch ./scripts/on-release.sh:

#!/usr/bin/env bash

echo RUNNING FROM "$0"

set -xe

remote=${2}
branch=${3}

git checkout develop
git merge "$branch" -m "Merge branch $branch [skip ci]"
git push "$remote" develop

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages