Skip to content

webonyx/auto-plugin-atlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published