diff --git a/.gitignore b/.gitignore index fe07d255b..2bf24c098 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ /coverage.ec /libsrc/jsyntaxpane/jsyntaxpane/src/target/ hs_err_pid*.log -*.~* \ No newline at end of file +*.~* +/revision.txt \ No newline at end of file diff --git a/build.xml b/build.xml index 861143fb2..a818f0443 100644 --- a/build.xml +++ b/build.xml @@ -50,6 +50,9 @@ + + + diff --git a/build_common.xml b/build_common.xml index 9b3888465..c31187c80 100644 --- a/build_common.xml +++ b/build_common.xml @@ -277,7 +277,7 @@ - + @@ -293,7 +293,20 @@ + + + + + + + + + + + + + diff --git a/src/com/jpexs/decompiler/flash/ApplicationInfo.java b/src/com/jpexs/decompiler/flash/ApplicationInfo.java index 9eaf153f5..a1f06fa39 100644 --- a/src/com/jpexs/decompiler/flash/ApplicationInfo.java +++ b/src/com/jpexs/decompiler/flash/ApplicationInfo.java @@ -49,7 +49,7 @@ public class ApplicationInfo { build = prop.getProperty("build"); nightly = prop.getProperty("nightly").equals("true"); if (nightly) { - version = version + " nightly build " + build; + version = version + " nightly build " + build.substring(0,7); } } catch (IOException | NullPointerException ex) { //ignore