From e8bb212ec67fdbb87b47e0ac858bfb69a666d7aa Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Fri, 14 Feb 2020 21:59:06 +0100 Subject: [PATCH] Add hour and minute to bytecode repo directory names --- appveyor.yml | 2 +- scripts/bytecodecompare/storebytecode.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4b66e027e897..d7211e14b4b1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -64,7 +64,7 @@ build_script: - msbuild solidity.sln /p:Configuration=%CONFIGURATION% /m:%NUMBER_OF_PROCESSORS% /v:minimal - cd %APPVEYOR_BUILD_FOLDER% - scripts\release.bat %CONFIGURATION% 2017 - - ps: $bytecodedir = git show -s --format="%cd-%H" --date=short + - ps: $bytecodedir = git show -s --format="%cd-%H" --date="format:%Y-%m-%d-%H-%M" test_script: - cd %APPVEYOR_BUILD_FOLDER%\build\test\%CONFIGURATION% diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index 451490e0c66f..f2b3a38972db 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -126,7 +126,7 @@ EOF git config user.email "chris@ethereum.org" git clean -f -d -x - DIRNAME=$(cd "$REPO_ROOT" && git show -s --format="%cd-%H" --date=short) + DIRNAME=$(cd "$REPO_ROOT" && git show -s --format="%cd-%H" --date="format:%Y-%m-%d-%H-%M") mkdir -p "$DIRNAME" REPORT="$DIRNAME/$ZIP_SUFFIX.txt" cp ../report.txt "$REPORT"