Forest Admin DevOps Tools
Slack Token
You can create a token by following this link https://api.slack.com/custom-integrations/legacy-tokens.
How to?
Release
This process will:
- merge
devel
into master
(if necessary), - add a specific tag (if necessary)
- send a note of the changes released to a specific Slack channel.
import { ReleaseManager } from '@forestadmin/devops';
const slackToken = process.env.DEVOPS_SLACK_TOKEN;
const releaseIcon = '🌱';
const options = {};
new ReleaseManager(slackToken, releaseIcon, options).create();
Arguments:
Update the coverage badge
This process will update the coverage badge in the README.md
file base on the lcov
coverage report.
import { CoverageManager } from '@forestadmin/devops';
new CoverageManager().updateBadge();