Also updated this for correctly autobuilding
This commit is contained in:
parent
c0d3c93adb
commit
06e8164e0e
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue