diff options
author | Tim Oram <dev@mitmaro.ca> | 2019-08-01 21:08:06 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2019-08-15 19:23:42 -0230 |
commit | fd547dac7aa6b5c36f3ba905020c8c7a82371663 (patch) | |
tree | 61c31dcc51d8a5d7a1c78f1f24c60a496a054fd2 | |
parent | 31494924fdba0bf25ca5c66d37fde5aabde1d8db (diff) |
Hide output on TravisCI latest release deploy
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | scripts/push-latest-release.bash | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 05a0457..4780f6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,13 +86,13 @@ jobs: os: linux if: branch = master before_script: cargo install --force cargo-deb - script: "OS=debian ./scripts/push-latest-release.bash" + script: "OS=debian ./scripts/push-latest-release.bash &>/dev/null" - stage: macos-latest-push rust: stable os: osx if: branch = master before_script: "cp target/release/interactive-rebase-tool target/release/macos-interactive-rebase-tool" - script: "OS=mac ./scripts/push-latest-release.bash" + script: "OS=mac ./scripts/push-latest-release.bash &>/dev/null" notifications: email: diff --git a/scripts/push-latest-release.bash b/scripts/push-latest-release.bash index 3eb540e..7a493aa 100755 --- a/scripts/push-latest-release.bash +++ b/scripts/push-latest-release.bash @@ -39,7 +39,7 @@ while read name id; do curl -X DELETE \ -H "accept: application/vnd.github.dorian-preview+json" \ -H "authorization: token $GITHUB_ACCESS_TOKEN" \ - "https://api.github.com/repos/$REPOSITORY/releases/assets/$assetid" # >/dev/null 2>&1 + "https://api.github.com/repos/$REPOSITORY/releases/assets/$assetid" fi done <<< "$assets" @@ -66,4 +66,4 @@ curl -X PATCH \ -H "content-type: application/json" \ -H "authorization: token $GITHUB_ACCESS_TOKEN" \ -d "{\"sha\": \"$master_ref\", \"force\": true}" \ - "https://api.github.com/repos/$REPOSITORY/git/refs/tags/latest" >/dev/null 2>&1 + "https://api.github.com/repos/$REPOSITORY/git/refs/tags/latest" |