Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Improving release-react - #265

Merged
Jonathan Carter (lostintangent) merged 2 commits into
masterfrom
plist_prefix
Jun 21, 2016
Merged

Jonathan Carter (lostintangent) merged 2 commits into
masterfrom
plist_prefix

Conversation

@lostintangent

@lostintangent Jonathan Carter (lostintangent) commented Jun 21, 2016

Copy link
Copy Markdown
Member

This PR improves the release-react command in the following ways:

  1. It adds a new "logging step" which explicitly displays the value that is inferred, and from which file, when auto-detecting the target binary version. This way, it's clearer what exactly the command is doing.
  2. Updates the new --plistFilePrefix parameter by auto-appending a "-" if the provided value doesn't already end in a separator (currently a period or hyphen). In practice, 100% of the files I've seen use a hyphen as a separator, so this change simply conforms to the common convention.
  3. Makes various improvements to the existing log messages

After this PR, I think the release-react command is in a pretty awesome state. However, I can imagine the need for us to add a new --gradlePath parameter to allow specifying where the build.gradle file is in apps that use a non-traditional project layout. We can address that in a future PR if we hear requests for it.

Comment thread cli/script/command-executor.ts Outdated
}
} else {
// Allow the plist prefix to be specified with or without a trailing
// seperator character, but prescribe the use of a "-" when omitted.

@scottbommarito Scott Bommarito (scottbommarito) Jun 21, 2016

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

separator

@scottbommarito

Copy link
Copy Markdown

// LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants