Skip to content

Commit

Permalink
have build_and_push_packages.sh also upload packages for friend-of-ke…
Browse files Browse the repository at this point in the history
…ybase

Previously we depended on s3_index.sh and the release tool to perform
this step, but that got broken in
keybase#2743, and it took us a few weeks
to notice. This change fixes that break, and keeps all our Linux file
uploading in one place.
  • Loading branch information
oconnor663 committed May 23, 2016
1 parent bf57b21 commit cb05d92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packaging/linux/build_and_push_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ release_prerelease() {
s3cmd cp "$blob" "s3://$BUCKET_NAME/linux_binaries/rpm/"
done

# Make yet another copy of the .deb and .rpm packages we just made, in a
# constant location for the friend-of-keybase instructions.
s3cmd put --follow-symlinks "$build_dir/deb_repo/keybase-latest-amd64.deb" "s3://$BUCKET_NAME/keybase_amd64.deb"
s3cmd put --follow-symlinks "$build_dir/deb_repo/keybase-latest-i386.deb" "s3://$BUCKET_NAME/keybase_i386.deb"
s3cmd put --follow-symlinks "$build_dir/rpm_repo/keybase-latest-x86_64.rpm" "s3://$BUCKET_NAME/keybase_amd64.rpm"
s3cmd put --follow-symlinks "$build_dir/rpm_repo/keybase-latest-i386.rpm" "s3://$BUCKET_NAME/keybase_i386.rpm"

json_tmp=`mktemp`
echo "Writing version into JSON to $json_tmp"

Expand Down

0 comments on commit cb05d92

Please sign in to comment.