Skip to content

Commit

Permalink
feat: bump default Hugo version to 0.136.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fstaudt committed Oct 18, 2024
1 parent d7cac4e commit 9e99a72
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Plugin extension is available to override general configuration (default values
```kotlin
hugo {
// Hugo version
version = "0.127.0"
version = "0.136.2"
// Relative path to sources of Hugo site in Gradle project
sourceDirectory = "site"
// Download URL for Windows ( {0} can be used to replace version )
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/io/github/fstaudt/hugo/HugoPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HugoPlugin : Plugin<Project> {

companion object {
const val HUGO = "hugo"
const val HUGO_VERSION = "0.127.0"
const val HUGO_VERSION = "0.136.2"
const val SOURCE_DIRECTORY = "site"
private val LOGGER: Logger = Logging.getLogger(HugoPlugin::class.java)
}
Expand Down
12 changes: 6 additions & 6 deletions src/test/kotlin/io/github/fstaudt/hugo/tasks/HugoDownloadTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ import java.io.File

class HugoDownloadTest {
companion object {
const val WINDOWS_ARCHIVE = "$HUGO_PATH/v0.127.0/hugo_extended_0.127.0_windows-amd64.zip"
const val LINUX_ARCHIVE = "$HUGO_PATH/v0.127.0/hugo_extended_0.127.0_linux-amd64.tar.gz"
const val MAC_OS_ARCHIVE = "$HUGO_PATH/v0.127.0/hugo_extended_0.127.0_darwin-universal.tar.gz"
const val WINDOWS_ARCHIVE = "$HUGO_PATH/v0.136.2/hugo_extended_0.136.2_windows-amd64.zip"
const val LINUX_ARCHIVE = "$HUGO_PATH/v0.136.2/hugo_extended_0.136.2_linux-amd64.tar.gz"
const val MAC_OS_ARCHIVE = "$HUGO_PATH/v0.136.2/hugo_extended_0.136.2_darwin-universal.tar.gz"

private lateinit var wiremock: WireMockServer

Expand All @@ -55,9 +55,9 @@ class HugoDownloadTest {
}

private fun WireMockServer.stubForHugoBinaries() {
stubForHugo("v0.127.0/hugo_extended_0.127.0_darwin-universal.tar.gz")
stubForHugo("v0.127.0/hugo_extended_0.127.0_linux-amd64.tar.gz")
stubForHugo("v0.127.0/hugo_extended_0.127.0_windows-amd64.zip")
stubForHugo("v0.136.2/hugo_extended_0.136.2_darwin-universal.tar.gz")
stubForHugo("v0.136.2/hugo_extended_0.136.2_linux-amd64.tar.gz")
stubForHugo("v0.136.2/hugo_extended_0.136.2_windows-amd64.zip")
stubForHugo("v0.104.2/hugo_extended_0.104.2_windows-amd64.zip")
}

Expand Down

0 comments on commit 9e99a72

Please sign in to comment.