From bc0e22464056f3e6e9ef11b7d841f673fe7dff31 Mon Sep 17 00:00:00 2001 From: oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> Date: Wed, 6 Feb 2019 23:42:08 +0000 Subject: [PATCH] Fix final zip command in Windows deploy --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f038f4..43809de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,7 +109,7 @@ deploy windows: - linux script: - apt-get update - - apt-get install --no-install-recommends -y zip + - apt-get install --no-install-recommends -y zip git - mkdir artifact - cd artifact @@ -122,7 +122,9 @@ deploy windows: # Zipping # -r: recursive; -9: max compression; -l: convert to CR LF - - zip -r -9 -l Attorney_Online_$(git describe --tags)_windows_i386.zip . + - mkdir ../zip + - zip -r -9 -l ../zip/Attorney_Online_$(git describe --tags)_windows_i386.zip . + - sha1sum ../zip/* artifacts: paths: - zip/ \ No newline at end of file