Compare commits
8 Commits
db1f0ed41e
...
025dba99fd
Author | SHA1 | Date |
---|---|---|
Dan Ballard | 025dba99fd | |
Dan Ballard | c865585573 | |
Dan Ballard | 35986f4cdd | |
Dan Ballard | e3aae48d1d | |
Dan Ballard | a311d0aa0c | |
Dan Ballard | 1cde99bfce | |
Sarah Jamie Lewis | dc681eb5d9 | |
Sarah Jamie Lewis | a99734c7c3 |
15
.drone.yml
15
.drone.yml
|
@ -55,26 +55,11 @@ steps:
|
|||
- flutter build linux --dart-define BUILD_VER=`cat VERSION` --dart-define BUILD_DATE=`cat COMMIT_DATE`
|
||||
- linux/package-release.sh
|
||||
- mkdir -p deploy/cwtch
|
||||
- mkdir -p deploy/deb/cwtch/usr
|
||||
- mkdir -p deploy/deb/cwtch/DEBIAN
|
||||
- export VERSION=`cat VERSION | tr -d 'v'`
|
||||
- sed "s|VERSION|$VERSION|g" linux/deb/control > deploy/deb/cwtch/DEBIAN/control
|
||||
- cp -r build/linux/x64/release/bundle/* deploy/cwtch
|
||||
- cd deploy
|
||||
- cd cwtch
|
||||
- INSTALL_PREFIX=./../deb/cwtch/usr DESKTOP_PREFIX=/usr/ ./install.sh
|
||||
- cd ..
|
||||
# we depend on tor, get it from the tor project apt repo
|
||||
- rm -r deb/cwtch/usr/lib/cwtch/Tor
|
||||
# Tar archives need a few tricks to make this deterministic, see https://reproducible-builds.org/docs/archives/
|
||||
- tar --sort=name --mtime=`cat COMMIT_DATE` --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -czf cwtch-`cat ../VERSION`.tar.gz cwtch
|
||||
- rm -r cwtch
|
||||
- cd deb
|
||||
- dpkg-deb --build cwtch
|
||||
- cd ..
|
||||
- mv deb/cwtch.deb cwtch-$VERSION.deb
|
||||
- rm -r deb
|
||||
|
||||
|
||||
- name: linux-ui-tests
|
||||
image: openpriv/flutter-desktop:linux-fstable-3.19.3
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
Package: cwtch
|
||||
Version: VERSION
|
||||
Maintainer: Open Privacy Research Society
|
||||
Architecture: all
|
||||
Description: Metadata resistant privacy platform designed to help you resist surveillance
|
||||
Depends: tor (>= 0.4.8.10)
|
Loading…
Reference in New Issue