Skip to content

Commit

Permalink
Merge pull request #27 from glerchundi/master
Browse files Browse the repository at this point in the history
use rel. paths for github-release binary
  • Loading branch information
glerchundi committed Oct 19, 2015
2 parents 7571eac + ae23359 commit 03245ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml.after_success
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ USERNAME=$(echo ${TRAVIS_REPO_SLUG} | cut -d"/" -f1)
REPONAME=$(echo ${TRAVIS_REPO_SLUG} | cut -d"/" -f2)

# release
github-release release --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${TRAVIS_TAG}"
./github-release release --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${TRAVIS_TAG}"

# manifests
for i in $HOME/dist/manifest*.txt; do
name=$(basename ${i})
github-release upload --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${name}" --file "${i}"
./github-release upload --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${name}" --file "${i}"
done

# skaware binaries
for i in $HOME/dist/*.tar.gz; do
name=$(basename ${i})
github-release upload --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${name}" --file "${i}"
./github-release upload --user "${USERNAME}" --repo "${REPONAME}" --tag "${TRAVIS_TAG}" --name "${name}" --file "${i}"
done
2 changes: 1 addition & 1 deletion .travis.yml.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# download and untar github-release
wget -nv -O github-release.amd64.tar.bz2 https://github.com/aktau/github-release/releases/download/v0.6.2/linux-amd64-github-release.tar.bz2
sudo mv bin/linux/amd64/github-release /bin
tar xf github-release.amd64.tar.bz2 --strip-components=3

0 comments on commit 03245ba

Please sign in to comment.