Skip to content

Commit

Permalink
LDEV-4644 bugfix for when update are available
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 21, 2023
1 parent 6a1e864 commit 6d02a0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion core/src/main/cfml/context/admin/update.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@
<!--- Core --->
<cfif adminType == "server">
<cfset filterMajor = true>
<cfset hasUpdate = false>

<cfset curr=server.lucee.version>
<cfset curr=listFirst(server.lucee.version,".")>

<cfset updateInfo=getAvailableVersion()>
<cfif server.lucee.state EQ "RC">
<cfif not structKeyExists(updateInfo, "available")>
<!--- no update available --->
<cfelseif server.lucee.state EQ "RC">
<cfset get_rc = []>
<cfloop index="rcList" array="#updateInfo.otherVersions#">
<cfif listContainsNoCase(rcList,"-RC") EQ 1>
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="5.4.2.14-RC"/>
<property name="version" value="5.4.2.15-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>5.4.2.14-RC</version>
<version>5.4.2.15-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 6d02a0e

Please sign in to comment.