Skip to content

Commit

Permalink
Link from version number for Maven and Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jun 20, 2024
1 parent 24e90f1 commit c064761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class RecipeMarkdownGenerator : Runnable {
// Write latest-versions-of-every-openrewrite-module.md
val versionsSnippetPath = outputPath.resolve("latest-versions-of-every-openrewrite-module.md")
Files.newBufferedWriter(versionsSnippetPath, StandardOpenOption.CREATE).useAndApply {
val mavenLink = "https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v${mavenPluginVersion}"
val gradleLink = "https://github.com/openrewrite/rewrite-gradle-plugin/releases/tag/v${gradlePluginVersion}"
val mavenLink = "[${mavenPluginVersion}](https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v${mavenPluginVersion})"
val gradleLink = "[${gradlePluginVersion}](https://github.com/openrewrite/rewrite-gradle-plugin/releases/tag/v${gradlePluginVersion})"
writeln("""
# Latest versions of every OpenRewrite module
Expand Down

0 comments on commit c064761

Please sign in to comment.