Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we change WC version number in CC PR? #348

Closed
ghost opened this issue Sep 28, 2021 · 2 comments
Closed

Do we change WC version number in CC PR? #348

ghost opened this issue Sep 28, 2021 · 2 comments
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Sep 28, 2021

Do we need to update the WC version numbers when we do a PR based on a later version of WC?

For example, in my recent PRs, there were lines like this in the original WC PR:

 * @see https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates/Emails
 * @version 3.5.0
 */

that get changed to this...

 * @see https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates/Emails
 * @version 3.5.4
 */

Should I be changing that line as well in the CC revision that is based on the WC PR?

@ghost ghost added the question Further information is requested label Sep 28, 2021
@nylen
Copy link
Contributor

nylen commented Sep 28, 2021

We shouldn't change the main WC version number that CC reports, unless a new version of CC has all of the changes from that version of Woo.

It looks like these are version numbers that appear in each file, which in my opinion is a bit silly to have at all, but I guess the same rule applies: if a given file would include all of the changes from the newer version of Woo, then sure, bump the version number for that file.

Most of the time this would not be the case, so I would default to leaving these alone.

@ghost
Copy link
Author

ghost commented Sep 28, 2021

OK, thanks. Leaving them alone was my initial approach, so happy to continue with that. They are really minor changes so it didn't seem that important.

@ghost ghost closed this as completed Sep 28, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant