3
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
script:
- make debian-package
- cp ../cronos*.deb .
- mkdir build
- cp ../cronos*.deb build/
- rm ../cronos*
only:
- master
artifacts:
paths:
- cronos*.deb
- build/*
tags:
- debian
- armv6

View file

@ -1,7 +1,8 @@
#!/bin/bash
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")
echo "cronosagent (${VERSION}) none; urgency=low" >> ${FILE}