Skip to content

Commit

Permalink
Fix publish location to adhere to Bintray/Maven standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fink committed Jul 7, 2016
1 parent 331190f commit c82d245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/product.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GROUP_ID=com.palantir.go-java-launcher
GROUP_PATH=com/palantir/go-java-launcher
GROUP_ID=com.palantir.launching
GROUP_PATH=com/palantir/launching
GIT_REMOTE=https://github.com/palantir/go-java-launcher
ALL_PRODUCTS="go-java-launcher"
4 changes: 2 additions & 2 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ else
fi

# create temporary directory for POM files
POM_TEMP_DIR=$(mktemp -d build/pomTempDir.XXXXXX)
POM_TEMP_DIR=$(mktemp -d dist/pomTempDir.XXXXXX)
# clean up temporary directory on script termination
trap 'rm -rf "$POM_TEMP_DIR"' EXIT

for PRODUCT in $PRODUCTS; do
VERSION_PATH="${REPO}/${PRODUCT}/${VERSION}"
PRODUCT_PATH="${VERSION_PATH}/${GROUP_PATH}"
PRODUCT_PATH="${VERSION_PATH}/${GROUP_PATH}/${PRODUCT}/${VERSION}"

FILE="$PRODUCT-$VERSION.tgz"
FILE_PATH="dist/$PRODUCT/build/distributions/$FILE"
Expand Down

0 comments on commit c82d245

Please sign in to comment.