Create first release attempt

This commit is contained in:
Alessio 2021-11-29 15:23:16 -08:00
parent ce6851a198
commit abbc525df9
3 changed files with 9 additions and 9 deletions

View File

@ -113,11 +113,11 @@ tasks:
echo "Task completed in $(($duration / 60))m$(($duration % 60))s." echo "Task completed in $(($duration / 60))m$(($duration % 60))s."
- upload_dpkg: | - upload_dpkg: |
# Just fail SECONDS=0
test -z "fjkjksdf"
cd twitter_offline_engine/build
scp -i ~/.ssh/4e6bb736-559c-4b3e-ba04-331f5808cacc offline-twitter-engine_${version}_all.deb aptrepo@apt.playfulpachyderm.com:/apt-repo/test-repo
ssh -i ~/.ssh/4e6bb736-559c-4b3e-ba04-331f5808cacc aptrepo@apt.playfulpachyderm.com "cd ~/test-repo && ./update.sh"
# SECONDS=0 duration=$SECONDS
echo "Task completed in $(($duration / 60))m$(($duration % 60))s."
# cd twitter_offline_engine/build
# scp offline

View File

@ -21,7 +21,7 @@ mkdir dpkg_tmp
# Construct the dpkg directory structure # Construct the dpkg directory structure
mkdir -p dpkg_tmp/usr/local/bin mkdir -p dpkg_tmp/usr/local/bin
cp ../cmd/tw dpkg_tmp/usr/local/bin cp ../cmd/tw dpkg_tmp/usr/local/bin/twitter
# Create the `DEBIAN/control` file # Create the `DEBIAN/control` file
mkdir dpkg_tmp/DEBIAN mkdir dpkg_tmp/DEBIAN
@ -36,7 +36,7 @@ Priority: optional
Homepage: http://offline-twitter.com Homepage: http://offline-twitter.com
Description: This utility is the scraper engine that drives \`offline-twitter\`. Description: This utility is the scraper engine that drives \`offline-twitter\`.
Download and browse content from twitter. Download and browse content from twitter.
Save a local copy of everything you browse. Save a local copy of everything you browse to a SQLite database.
" > dpkg_tmp/DEBIAN/control " > dpkg_tmp/DEBIAN/control

View File

@ -3,5 +3,5 @@
set -x set -x
set -e set -e
go build -o tw ./twitter go build -ldflags="-s -w" -o tw ./twitter
chmod +x tw chmod +x tw