aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-02-06 23:42:08 +0000
committeroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-02-06 23:42:08 +0000
commitbc0e22464056f3e6e9ef11b7d841f673fe7dff31 (patch)
tree2a63f756462d86b8066877d966e457c681c401e0
parent0dca4f14fefb9349c68b3afccec9e997be61a768 (diff)
Fix final zip command in Windows deploy
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f038f45..43809de6 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