4
Fork 0

Also updated this for correctly autobuilding

This commit is contained in:
PD0ZRY Rudy 2016-11-27 13:33:56 +01:00
parent c0d3c93adb
commit 06e8164e0e
2 changed files with 5 additions and 3 deletions

View file

@ -34,13 +34,14 @@ debian_armhf:
stage: build stage: build
script: script:
- make debian-package - make debian-package
- cp ../cronos*.deb . - mkdir build
- cp ../cronos*.deb build/
- rm ../cronos* - rm ../cronos*
only: only:
- master - master
artifacts: artifacts:
paths: paths:
- cronos*.deb - build/*
tags: tags:
- debian - debian
- armv6 - armv6

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
FILE=$(mktemp) FILE=$(mktemp)
VERSION=$(grep -o -E "[0-9]+" Version.h) #VERSION=$(grep -o -E "[0-9]+" Version.h)
VERSION=$(date +"%Y%m%d-%H%M%S")
DATE=$(date +"%a, %d %b %Y %H:%M:%S %z") DATE=$(date +"%a, %d %b %Y %H:%M:%S %z")
echo "cronosagent (${VERSION}) none; urgency=low" >> ${FILE} echo "cronosagent (${VERSION}) none; urgency=low" >> ${FILE}