Skip to content

Commit

Permalink
uploading all the files in wd to github release draft
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvam committed Jan 15, 2016
1 parent dbf9a49 commit e40e837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/github_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$GITHUB_TOKEN" ]; then
exit 1
fi

version=$(ls $repoName-*-darwin.x86.zip | sed "s/^$repoName-\([^;]*\)-darwin.x86.zip/\1/")
version=$(ls $repoName-*-linux.x86.zip | sed "s/^$repoName-\([^;]*\)-linux.x86.zip/\1/")

$GOPATH/bin/github-release release -u getgauge -r $repoName --draft -t "v$version" -d "## New Features: ## Enhancements: ## Bug Fixes:" -n "$repoName $version"

for i in `ls *.zip`; do
for i in `ls`; do
$GOPATH/bin/github-release -v upload -u getgauge -r $repoName -t "v$version" -n $i -f $i
done

0 comments on commit e40e837

Please sign in to comment.