File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,28 @@ uploadArchives {
64
64
artifactId ' jbock'
65
65
description ' The jbock annotation processor'
66
66
url ' https://github.com/h908714124/jbock'
67
+
68
+ scm {
69
+ connection ' scm:svn:https://github.com/h908714124/jbock.git'
70
+ developerConnection ' scm:svn:https://github.com/h908714124/jbock.git'
71
+ url ' https://github.com/h908714124/jbock'
72
+ }
73
+
74
+ licenses {
75
+ license {
76
+ name ' MIT License'
77
+ url ' https://opensource.org/licenses/MIT'
78
+ }
79
+ }
80
+
81
+ developers {
82
+ developer {
83
+ id ' h908714124'
84
+ name ' h908714124'
85
+
86
+ }
87
+ }
67
88
}
68
89
}
69
90
}
70
- }
91
+ }
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
if [[ -z " $1 " ]]; then echo arg: version; exit 1; fi
3
- cp pom.xml pom.backup.xml
4
- sed -i " s/< version>0-SNAPSHOT<\/version>/<version> $1 <\/version>/ " pom.xml
5
- mvn clean install -Psonatype-oss-release
6
- mv pom.backup.xml pom.xml
3
+ cp gradle.properties gradle.properties.back
4
+ echo " version= $1 " > gradle.properties
5
+ gradle uploadArchives
6
+ mv gradle.properties.back gradle.properties
You can’t perform that action at this time.
0 commit comments