We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b2c84 commit 011465fCopy full SHA for 011465f
com.microsoft.java.debug.repository/pushToBintray.sh
@@ -1,18 +1,14 @@
1
#!/bin/bash
2
-#Usage: ./pushToBintray.sh username apikey repo package
+#Usage: ./pushToBintray.sh username apikey repo package version
3
BINTRAY_USER=$1
4
BINTRAY_API_KEY=$2
5
BINTRAY_REPO=$3
6
PCK_NAME=$4
7
+PCK_VERSION=$5
8
9
SCRIPT=$(readlink -f "$0")
10
SCRIPTPATH=$(dirname "$SCRIPT")
11
-cd $SCRIPTPATH/..
12
-echo "Resolving the package version..."
13
-PCK_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
14
-echo "The package version: $PCK_VERSION"
15
-
16
function main() {
17
cd $SCRIPTPATH/target/repository
18
0 commit comments