ci: absolute time for version.conf (closes #6336, closes #6347)

pull/6353/head
Niklas Fiekas 2020-04-08 13:59:35 +02:00
parent e21aefaaa3
commit be0ecd5af1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ jobs:
- uses: olafurpg/setup-scala@49fc8c734ef6916b4e1da8ba8d81bb26a2b46a06 # v7
with:
java-version: openjdk@1.13.0-2
- run: echo "app.version = \"\"\"$(git log -1 --pretty='format:%h / %ar / %s')\"\"\"" > conf/version.conf
- run: TZ=UTC git log -1 --date=iso-strict-local --pretty='format:app.version = """%h / %ad / %s"""%n' | tee conf/version.conf
- run: ./lila -Depoll=true "test;dist"
- run: unzip target/universal/lila-3.0.zip && cp LICENSE COPYING.md README.md lila-3.0 && git log -n 1 --pretty=oneline > lila-3.0/commit.txt
- uses: actions/upload-artifact@v1