renovate/tools/release.mjs
2021-04-21 19:35:20 +02:00

29 lines
685 B
JavaScript

import shell from 'shelljs';
import { options } from './utils.mjs';
const version = options.release;
// const sha = program.sha;
// let err = false;
shell.echo(`Publishing version: ${version}`);
// shell.echo('Publishing npm package ...');
// if (
// !exec(`npm --no-git-tag-version version ${version}`) ||
// !exec(`npm publish`)
// ) {
// err = true;
// }
// shell.echo('Publishing docker images ...');
// if (!exec(`./.github/workflows/release-docker.sh ${version} ${sha}`)) {
// err = true;
// }
// eslint-disable-next-line promise/valid-params,@typescript-eslint/no-floating-promises
import('./dispatch-release.mjs').catch();
// if (err) {
// shell.exit(2);
// }