Skip to content

Commit

Permalink
Renamed packages so that uploading them to artifactory will with wild…
Browse files Browse the repository at this point in the history
…cards will work.
  • Loading branch information
breiler committed Oct 2, 2020
1 parent 5bfaa89 commit 243cdc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions scripts/deploy.sh
Expand Up @@ -5,8 +5,10 @@ set -xe
./jfrog rt config --interactive=false --url "$ARTIFACTORY_URL" --user "$ARTIFACTORY_LOGIN" --apikey "$ARTIFACTORY_API_KEY"
./jfrog rt u "ugs-classic/target/UniversalGcodeSender.zip" "/UGS/$1/" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/ugs-platform-app-*.zip" "/UGS/$1/ugs-platform-app.zip" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/ugs-platform-app-*.tar.gz" "/UGS/$1/ugs-platform-app.tar.gz" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/ugs-platform-app-*.dmg" "/UGS/$1/ugs-platform-app.dmg" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/win-ugs-platform-app-*.zip" "/UGS/$1/ugs-platform-app-win.zip" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/pi-ugs-platform-app*.tar.gz" "/UGS/$1/ugs-platform-app-pi.tar.gz" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/linux-ugs-platform-app*.tar.gz" "/UGS/$1/ugs-platform-app-linux.tar.gz" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/ios-ugs-platform-app-*.dmg" "/UGS/$1/ugs-platform-app-ios.dmg" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER -flat=true
./jfrog rt u "ugs-platform/application/target/site/netbeans_site/" "/UGS/$1/update-center/" --build-name=$ARTIFACTORY_NAME --build-number=$TRAVIS_BUILD_NUMBER
./jfrog rt bce $ARTIFACTORY_NAME $TRAVIS_BUILD_NUMBER
./jfrog rt bp $ARTIFACTORY_NAME $TRAVIS_BUILD_NUMBER
8 changes: 4 additions & 4 deletions ugs-platform/application/pom.xml
Expand Up @@ -295,7 +295,7 @@
<!-- Create Archive -->
<exec dir="${project.build.directory}" executable="zip" failonerror="true">
<arg value="-r"/>
<arg value="${project.artifactId}-${project.version}-win.zip"/>
<arg value="win-${project.artifactId}-${project.version}.zip"/>
<arg value="${brandingToken}-win"/>
</exec>

Expand Down Expand Up @@ -419,7 +419,7 @@
<arg value="${ugs.appbundle.name}"/>
<arg value="-r"/>
<arg value="-o"/>
<arg value="${project.artifactId}-${project.version}.dmg"/>
<arg value="ios-${project.artifactId}-${project.version}.dmg"/>
<arg value="${project.build.directory}/${ugs.app.title}"/>
</exec>
</target>
Expand Down Expand Up @@ -493,7 +493,7 @@
<exec dir="${project.build.directory}" executable="tar" failonerror="true">
<env key="GZIP" value="-9"/>
<arg value="-czvf"/>
<arg value="${project.artifactId}-${project.version}-pi.tar.gz"/>
<arg value="pi-${project.artifactId}-${project.version}.tar.gz"/>
<arg value="-C"/>
<arg value="${project.build.directory}"/>
<arg value="${brandingToken}-pi"/>
Expand Down Expand Up @@ -569,7 +569,7 @@
<exec dir="${project.build.directory}" executable="tar" failonerror="true">
<env key="GZIP" value="-9"/>
<arg value="-czvf"/>
<arg value="${project.artifactId}-${project.version}-linux.tar.gz"/>
<arg value="linux-${project.artifactId}-${project.version}.tar.gz"/>
<arg value="-C"/>
<arg value="${project.build.directory}"/>
<arg value="${brandingToken}-linux"/>
Expand Down

0 comments on commit 243cdc7

Please sign in to comment.