Skip to content

Commit

Permalink
2.2.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Aug 24, 2024
1 parent 1cb8d08 commit 65faa8d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ allprojects {
? ''
: System.getenv('GITHUB_RUN_NUMBER') != null && System.getenv('GITHUB_SHA') != null
? "-${System.getenv('GITHUB_RUN_NUMBER')}-${System.getenv('GITHUB_SHA').substring(0, 7)}"
: '-SNAPSHOT'
: project.version.endsWith('-SNAPSHOT')
? ''
: '-SNAPSHOT'

publishing {
publications {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_version=2.1.1
project_version=2.2.0-SNAPSHOT
org.gradle.jvmargs=-Xmx2048m
# set to true if you want to run the headlessmc-launcher-wrapper integration tests
hmc_integration_test_enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Launcher implements HeadlessMc {
/**
* The current version of HeadlessMc.
*/
public static final String VERSION = "2.1.1";
public static final String VERSION = "2.2.0-SNAPSHOT";

/**
* A HeadlessMc instance that this Launcher delegates to for CommandLine, ExitManager, etc..
Expand Down
2 changes: 1 addition & 1 deletion headlessmc-scripts/hmc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
java -jar headlessmc-launcher-wrapper-2.1.1.jar --command $@
java -jar headlessmc-launcher-wrapper-2.2.0-SNAPSHOT.jar --command $@
2 changes: 1 addition & 1 deletion headlessmc-scripts/hmc.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
"%JAVA_HOME%\bin\java" -jar headlessmc-launcher-wrapper-2.1.1.jar --command %*
"%JAVA_HOME%\bin\java" -jar headlessmc-launcher-wrapper-2.2.0-SNAPSHOT.jar --command %*
2 changes: 1 addition & 1 deletion headlessmc-scripts/hmw
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
# when running in docker on windows bash seems to be at /bin/bash TODO: can we make this one script?
java -jar headlessmc-launcher-wrapper-2.1.1.jar --command $@
java -jar headlessmc-launcher-wrapper-2.2.0-SNAPSHOT.jar --command $@

0 comments on commit 65faa8d

Please sign in to comment.