File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # build with buildr
3
+ # sign and upload to nexus staging with mvn
4
+ # then finally
5
+ # - login to nexus at https://oss.sonatype.org/
6
+ # - click 'Staging Repositories' from left menu
7
+ # - search for 'uasparser'
8
+ # - "Close" repository
9
+ # - "Release" repository
10
+
11
+ buildr test=no clean package
12
+ export VERSION="0.6.1"
13
+ cp -a pom.xml target/uasparser-$VERSION.pom
14
+ mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=target/uasparser-$VERSION.pom -Dfile=target/uasparser-$VERSION.jar
15
+ mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=target/uasparser-$VERSION.pom -Dfile=target/uasparser-$VERSION-sources.jar -Dclassifier=sources
16
+ mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=target/uasparser-$VERSION.pom -Dfile=target/uasparser-$VERSION-javadoc.jar -Dclassifier=javadoc
You can’t perform that action at this time.
0 commit comments