Fixed some things in building tellus
This commit is contained in:
parent
0b68a6afab
commit
eb99a95b94
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
debian_amd64:
|
||||
stage: build
|
||||
script:
|
||||
- ./UpdateLog.sh
|
||||
- make debian-package
|
||||
- mkdir build
|
||||
- cp ../tellusagent*.deb build/
|
||||
|
@ -17,6 +18,7 @@ debian_amd64:
|
|||
debian_386:
|
||||
stage: build
|
||||
script:
|
||||
- ./UpdateLog.sh
|
||||
- ARCH=i386 make debian-package
|
||||
- mkdir build
|
||||
- cp ../tellusagent*.deb build/
|
||||
|
@ -33,6 +35,7 @@ debian_386:
|
|||
debian_armhf:
|
||||
stage: build
|
||||
script:
|
||||
- ./UpdateLog.sh
|
||||
- make debian-package
|
||||
- cp ../tellusagent*.deb .
|
||||
- rm ../tellusagent*
|
||||
|
|
|
@ -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 "tellusagent (${VERSION}) none; urgency=low" >> ${FILE}
|
||||
|
|
Loading…
Add table
Reference in a new issue