From 5699f8d9d9b16a4495579540b4bb69fd10d11e83 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Tue, 10 Aug 2021 12:37:59 -0400 Subject: [PATCH] Delete deploy_snapshot.sh --- .buildscript/deploy_snapshot.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 .buildscript/deploy_snapshot.sh diff --git a/.buildscript/deploy_snapshot.sh b/.buildscript/deploy_snapshot.sh deleted file mode 100755 index 363671a87..000000000 --- a/.buildscript/deploy_snapshot.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# -# Deploy a jar, source jar, and javadoc jar to Sonatype's snapshot repo. -# -# Adapted from https://coderwall.com/p/9b_lfq and -# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ - -SLUG="JakeWharton/timber" -JDK="oraclejdk8" -BRANCH="master" - -set -e - -if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then - echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'." -elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then - echo "Skipping snapshot deployment: wrong JDK. Expected '$JDK' but was '$TRAVIS_JDK_VERSION'." -elif [ "$TRAVIS_PULL_REQUEST" != "false" ]; then - echo "Skipping snapshot deployment: was pull request." -elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then - echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'." -else - echo "Deploying snapshot..." - ./gradlew clean uploadArchives - echo "Snapshot deployed!" -fi