Skip to content

Commit

Permalink
Release script binary upload bug
Browse files Browse the repository at this point in the history
Removes the '$CLI' portion of uploading the binaries / tarballs. Had a
naming error when uploading.
  • Loading branch information
cdrage committed Apr 28, 2017
1 parent 0f92e3f commit 6a47e57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ build_binaries() {
}

create_tarballs() {
for f in $CLI/bin/*
for f in bin/*
do
tar cvzf $f.tar.gz $f
done
Expand Down Expand Up @@ -172,10 +172,10 @@ push() {
fi

# Upload all the binaries and tarballs generated in bin/
for f in $CLI/bin/*
for f in bin/*
do
echo "Uploading file $f"
NAME=`echo $f | sed "s,$CLI/bin/,,g"`
NAME=`echo $f | sed "s,bin/,,g"`
github-release upload \
--user $UPSTREAM_REPO \
--repo $CLI \
Expand All @@ -198,7 +198,7 @@ push() {
}

clean() {
rm -r $CLI changes.txt
rm changes.txt
}

main() {
Expand Down

0 comments on commit 6a47e57

Please sign in to comment.