Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ public class ReadVersionFile {
/**
* Retrieves the current version of the game by reading from the version.txt resource file.
*
* @return the version string, or "rolling" if the file cannot be read
* @return the version string
*/
public String readVersion() {
String content = "rolling"; // Placeholder version
String content = "0.1.0"; // Placeholder version
try (InputStream inputStream =
getClass().getClassLoader().getResourceAsStream("version.txt");
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream))) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rolling
0.1.2
2 changes: 1 addition & 1 deletion debian-package/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: numberguessinggame
Version: 1.0.0
Version: 0.1.2
Section: games
Priority: optional
Architecture: all
Expand Down
Loading