react/scripts/release/create-next-commands/update-version-numbers.js
Brian Vaughn 9e158c091b
Updated release script documentation and command names (#17929)
* Updated release script documentation and command names

* Update scripts/release/README.md

Co-Authored-By: Sunil Pai <threepointone@oculus.com>

* Updated README

Co-authored-by: Sunil Pai <threepointone@oculus.com>
2020-02-05 08:52:31 -08:00

14 lines
359 B
JavaScript

#!/usr/bin/env node
'use strict';
const {logPromise, updateVersionsForNext} = require('../utils');
const theme = require('../theme');
module.exports = async ({reactVersion, tempDirectory, version}) => {
return logPromise(
updateVersionsForNext(tempDirectory, reactVersion, version),
theme`Updating version numbers ({version ${version}})`
);
};