Skip to content

Commit

Permalink
Add rationale for version_bump
Browse files Browse the repository at this point in the history
com.google.fonts/check/version_bump
On the Google Fonts Profile.

(PR #4570)
  • Loading branch information
simoncozens authored and felipesanches committed Mar 5, 2024
1 parent 4e5463c commit 8a60eee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ A more detailed list of changes is available in the corresponding milestones for
- **[com.google.fonts/check/has_ttfautohint_params]:** Added rationale. (PR #4570)
- **[com.google.fonts/check/smart_dropout]:** Improve rationale with better fixing instructions. (PR #4570)
- **[com.google.fonts/check/production_glyphs_similarity]:** Added rationale. (PR #4570)
- **[com.google.fonts/check/version_bump]:** Added rationale. (PR #4570)

#### On the FontValidator profile
- **[com.google.fonts/check/fontvalidator]:** Added rationale. (PR #4570)
Expand Down
5 changes: 5 additions & 0 deletions Lib/fontbakery/checks/googlefonts/hosted.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
id="com.google.fonts/check/version_bump",
conditions=["api_gfonts_ttFont", "github_gfonts_ttFont"],
proposal="legacy:check/117",
rationale="""
We check that the version number has been bumped since the last release on
Google Fonts. This helps to ensure that the version being PRed is newer than
the one currently hosted on fonts.google.com.
""",
)
def com_google_fonts_check_version_bump(
ttFont, api_gfonts_ttFont, github_gfonts_ttFont
Expand Down

0 comments on commit 8a60eee

Please sign in to comment.