Skip to content

Commit 4beafc3

Browse files
committed
Prepare uploadbinaries.sh for secure api key
1 parent 59656eb commit 4beafc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

uploadbinaries.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ pushd nuget.package
44

55
zip -r binaries.zip libgit2
66

7-
BINTRAYUSER="bording"
8-
BINTRAYKEY="51d19b77bad09256980e7904f540bf012436a32f"
7+
BINTRAY_API_USER="nulltoken"
98

10-
curl -T binaries.zip -u$BINTRAYUSER:$BINTRAYKEY https://api.bintray.com/content/libgit2/compiled-binaries/$TRAVIS_OS_NAME/$TRAVIS_BUILD_NUMBER/binaries-$TRAVIS_OS_NAME-$TRAVIS_BUILD_NUMBER.zip?publish=1
9+
curl -T binaries.zip -u$BINTRAY_API_USER:$BINTRAY_API_KEY https://api.bintray.com/content/libgit2/compiled-binaries/$TRAVIS_OS_NAME/$TRAVIS_BUILD_NUMBER/binaries-$TRAVIS_OS_NAME-$TRAVIS_BUILD_NUMBER.zip?publish=1
1110

1211
popd

0 commit comments

Comments
 (0)