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

ci: use wp-cli i18n command instead of pb-cli #81

Merged
merged 7 commits into from Jun 6, 2022

Conversation

greatislander
Copy link
Contributor

Partial resolution to https://github.com/pressbooks/private/issues/910. In addition to replacing the wp pb make-pot command with wp i18n make-pot, this PR also replaces the update-translations.yml workflow's use of gettext with the wp i18n make-mo command, which does the same thing.

I've commented out the step which autocommits changes. Instead, when these workflows run if they result in any changed files, they will open a PR. Devs can merge if it looks good. In future, you may wish to switch back to autocommit.

@codecov
Copy link

codecov bot commented May 28, 2022

Codecov Report

Merging #81 (352b79e) into dev (f092cc4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##                dev      #81   +/-   ##
=========================================
  Coverage     82.68%   82.68%           
  Complexity      103      103           
=========================================
  Files             3        3           
  Lines           283      283           
=========================================
  Hits            234      234           
  Misses           49       49           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f092cc4...352b79e. Read the comment docs.

@greatislander greatislander changed the title ci: use update wp-cli i18n command instead of pb-cli ci: use wp-cli i18n command instead of pb-cli May 28, 2022
@SteelWagstaff SteelWagstaff self-requested a review June 6, 2022 23:06
Copy link
Member

@SteelWagstaff SteelWagstaff left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Ned

@SteelWagstaff SteelWagstaff merged commit faade1e into pressbooks:dev Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants