mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
29 lines
685 B
JavaScript
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);
|
|
// }
|