Added HEAD to git archive

This commit is contained in:
Deon George 2018-10-19 22:40:12 +11:00
parent ec89fe1370
commit 60d3378a02

View File

@ -9,14 +9,12 @@ variables:
before_script:
- apt-get update
- apt-get install -y zip unzip dos2unix libbz2-dev zlib1g-dev libgeoip-dev libncurses5-dev libhunspell-dev libsqlite3-dev libreadline-dev libssl1.0-dev libssh-dev libmicrohttpd-dev libdbd-sqlite3-perl libmosquitto-dev m4 sed
- pwd
build:
stage: build
script:
- set
- env
- pwd
- git archive --output=tar |gzip -9 > ../magicka_${VERSION}.orig.tar.gz
- git archive --output=tar HEAD |gzip -9 > ../${CI_PROJECT_NAME}_${VERSION}.orig.tar.gz
- dpkg-buildpackage -us -uc
tags:
- apt