Skip to content

Commit

Permalink
Hacky release_all.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlinford committed Sep 5, 2017
1 parent a7b5db2 commit ba4884c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions release_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
#
# Build release packages for all known TAU targets.
#
# This script is a hack to work around setuptools' stateful
# implementation of sdist. It should be removed someday.
#
# Author: John C. Linford (jlinford@paratools.com)
#


release="python setup.py release"

$release --web
python setup.py release --all | grep '^(' | (while read line ; do
line=`echo $line | tr -d '()'`
arch=`echo $line | cut -d, -f1`
os=`echo $line | cut -d, -f2`
$release --target-arch $arch --target-os $os
done)

0 comments on commit ba4884c

Please sign in to comment.