Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Beta version bump and exception for update checker.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalus committed Jan 18, 2012
1 parent 83abdec commit b17b16d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/main/java/de/beimax/simplespleef/util/UpdateChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ public String checkForUpdate(String version) throws Exception {
// just read first line
String inputLine = in.readLine();
in.close();

if (inputLine != null && inputLine.equals(version)) return null; // no new update

//TODO revert later on
if (inputLine != null && (inputLine.equals(version) || inputLine.equals("2.2.1"))) return null; // no new update
//if (inputLine != null && inputLine.equals(version)) return null; // no new update

return inputLine; // new version
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: SimpleSpleef
main: de.beimax.simplespleef.SimpleSpleef
version: 2.3.0-dev
version: 2.3.0-beta
author: maxkalus
description: >
Simple Spleef Plugin
Expand Down

0 comments on commit b17b16d

Please sign in to comment.