Skip to content

Commit

Permalink
chore: update badges
Browse files Browse the repository at this point in the history
Update maven central badge to go to maven central page and added an "installation" badge to l10nmessages.io documentation
  • Loading branch information
aurambaj committed Nov 16, 2023
1 parent 7873008 commit c030020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[![Build](https://github.com/pinterest/l10nmessages/actions/workflows/build.yml/badge.svg)](https://github.com/pinterest/l10nmessages/actions/workflows/build.yml)
[![License](http://img.shields.io/:license-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
[![Maven Central](https://img.shields.io/maven-central/v/com.pinterest.l10nmessages/l10nmessages)](https://l10nmessages.io/docs/installation)
[![Maven Central](https://img.shields.io/maven-central/v/com.pinterest.l10nmessages/l10nmessages.svg?label=maven%20central)](https://search.maven.org/search?q=g:%22com.pinterest.l10nmessages%22%20AND%20a:%22l10nmessages%22)
[![javadoc](https://javadoc.io/badge2/com.pinterest.l10nmessages/l10nmessages/javadoc.svg)](https://javadoc.io/doc/com.pinterest.l10nmessages/l10nmessages)
[![Installation](https://img.shields.io/badge/installation-1.0.4-aaffee)](https://l10nmessages.io/docs/installation)

`L10nMessages` is a library that makes internationalization (i18n) and localization (l10n) of Java
applications easy and safe.
Expand Down
1 change: 1 addition & 0 deletions update-non-maven-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ then
sed -E -i '' -e "s/l10nmessages:${CURRENT_VERSION}/l10nmessages:${NEW_VERSION}/g" docs/docs/installation/{bazel,gradle}.md;
sed -E -i '' -e "s/l10nmessages-proc:${CURRENT_VERSION}/l10nmessages-proc:${NEW_VERSION}/g" docs/docs/installation/{bazel,gradle}.md;
sed -E -i '' -e "s/The latest version is \`${CURRENT_VERSION}/The latest version is \`${NEW_VERSION}/g" docs/docs/installation/installation.md;
sed -E -i '' -e "s/installation-1.0.4-/installation-1.0.5-/g" README.md;

## Warning!! this works because only l10nmessages dependencies have x.y.z version (adding any
sed -E -i '' -e "s/version>${CURRENT_VERSION}/version>${NEW_VERSION}/g" {docs/docs/installation/maven.md,l10nmessages-mvn-plugin/usage.md};
Expand Down

0 comments on commit c030020

Please sign in to comment.