blob: c656ee124709dce5b1653d905bc989b5de2537ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
image: debian:sid
pipelines:
default:
- step:
name: Build deb
image: debian:sid
caches:
- apt
script:
- apt update
- apt -y install pkg-config build-essential make libtoxcore-dev dh-make python3-jinja2 python3-requests curl
# - echo tuntox_0.0.9.`date +%Y%m%d%H%M%S` >bb_version.txt
#- dh_make -y --createorig -s -p `cat bb_version.txt` || echo
- tar -zcf ../tuntox_0.0.9.orig.tar.gz .
- dpkg-buildpackage -us -uc
- ls -l ..
- curl -X POST "https://${BITBUCKET_USERNAME}:${BITBUCKET_APP_PASSWORD}@api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"../tuntox_*.deb"
definitions:
caches:
apt: /var/cache/apt
|