X-Git-Url: https://jxself.org/git/?p=inform.git;a=blobdiff_plain;f=version.sh;fp=version.sh;h=9e631666585b3ae82d31984e6b04db18c36c9b5f;hp=0000000000000000000000000000000000000000;hb=81ffe9a7de1db0b3a318a053b38882d1b7ab304c;hpb=d1090135a32de7b38b48c55d4e21f95da4c405bc diff --git a/version.sh b/version.sh new file mode 100755 index 0000000..9e63166 --- /dev/null +++ b/version.sh @@ -0,0 +1,17 @@ +# This file is part of Inform. +# +# Inform is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# theFree Software Foundation, either version 3 of the License, or +#(at your option) any later version. +# +# Inform is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Inform. If not, see https://gnu.org/licenses/ + +commit_count=$(git rev-list HEAD --count) +echo "6.$commit_count" \ No newline at end of file