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

Conversation

lostintangent
Copy link
Member

@lostintangent lostintangent commented Jun 21, 2016

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.

}
} else {
// Allow the plist prefix to be specified with or without a trailing
// seperator character, but prescribe the use of a "-" when omitted.
Copy link

@scottbommarito scottbommarito Jun 21, 2016

Choose a reason for hiding this comment

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

separator

@scottbommarito
Copy link

// LGTM

@lostintangent lostintangent merged commit 6994792 into master Jun 21, 2016
@lostintangent lostintangent deleted the plist_prefix branch June 21, 2016 21:24
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.

4 participants