mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8d8b44a5e3
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36421 Changelog: [Internal] Adding an extra choice for commit question, user can now choose between three options: 1. Commit with generic message, no further actions needed 2. Commit with custom message, intercative VIM input will open 3. Not committing anything Reviewed By: cortinico Differential Revision: D43943526 fbshipit-source-id: 014215105d192961486b7d1c697f491697492812
25 lines
724 B
JavaScript
25 lines
724 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
*/
|
|
|
|
const PUBLISH_PACKAGES_TAG = '#publish-packages-to-npm';
|
|
const GENERIC_COMMIT_MESSAGE = `bumped packages versions\n\n${PUBLISH_PACKAGES_TAG}`;
|
|
|
|
const NO_COMMIT_CHOICE = 'NO_COMMIT';
|
|
const COMMIT_WITH_GENERIC_MESSAGE_CHOICE = 'COMMIT_WITH_GENERIC_MESSAGE';
|
|
const COMMIT_WITH_CUSTOM_MESSAGE_CHOICE = 'COMMIT_WITH_CUSTOM_MESSAGE';
|
|
|
|
module.exports = {
|
|
PUBLISH_PACKAGES_TAG,
|
|
GENERIC_COMMIT_MESSAGE,
|
|
NO_COMMIT_CHOICE,
|
|
COMMIT_WITH_GENERIC_MESSAGE_CHOICE,
|
|
COMMIT_WITH_CUSTOM_MESSAGE_CHOICE,
|
|
};
|