mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
New release scripts. Learn more at https://github.com/facebook/react/blob/master/scripts/release/README.md
14 lines
363 B
JavaScript
14 lines
363 B
JavaScript
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
const {logPromise, updateVersionsForCanary} = require('../utils');
|
|
const theme = require('../theme');
|
|
|
|
module.exports = async ({reactVersion, tempDirectory, version}) => {
|
|
return logPromise(
|
|
updateVersionsForCanary(tempDirectory, reactVersion, version),
|
|
theme`Updating version numbers ({version ${version}})`
|
|
);
|
|
};
|