jdk:
  - openjdk11

install:
  - unset JAVA_TOOL_OPTIONS
  - java src/bach/Version.java $(java src/bach/Version.java)-${GIT_COMMIT}
  - java src/bach/Bootstrap.java
  - source .bach/out/maven-install.sh

jdk:
  - openjdk11

install:
  - unset JAVA_TOOL_OPTIONS
  - VERSION=$(java src/bach/Version.java)
  - if [[ $VERSION =~ ^.*-ea$ ]]; then java src/bach/Version.java ${VERSION}-${GIT_COMMIT}; fi
  - java src/bach/Version.java
  - java src/bach/Bootstrap.java
  - source .bach/out/maven-install.sh

Extend version with git commit only if it ends with "-ea"
Extend version with git commit only if it ends with "-ea"
