Skip to content

Commit

Permalink
Update CreateReleaseDropDownTask.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Aug 24, 2023
1 parent ea6b7a0 commit 7e6a34e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ abstract class CreateReleaseDropDownTask extends DefaultTask {

private String createVersionSelectDropDownHtml(List<SoftwareVersion> softwareVersions) {
String selectHtml = "<select onChange='window.document.location.href=this.options[this.selectedIndex].value;'>"
String snapshotHref = "https://grails.github.io/grails-spring-security-core/index.html"
String snapshotHref = "https://grails.github.io/grails-spring-security-core/snapshot/index.html"
if (currentVersion.get().endsWith("-SNAPSHOT")) {
selectHtml += "<option selected='selected' value='${snapshotHref}'>SNAPSHOT</option>"
} else {
Expand Down

0 comments on commit 7e6a34e

Please sign in to comment.