Skip to content

Commit 4991a83

Browse files
committed
Update comments
1 parent b774d92 commit 4991a83

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ And re-run this script to create new entity classes that include your changes.
163163
### How to release new version
164164

165165
```bash
166-
./gradlew clean uploadArchives
167-
mvn deploy -Dmaven.test.skip=true
166+
./gradlew clean uploadArchives // This will publish new version of library
167+
mvn deploy -Dmaven.test.skip=true // This will publish new version of plugin
168168
```
169+
After run above commands successfully, please go through [this release process](https://central.sonatype.org/publish/release/#close-and-drop-or-release-your-staging-repository) if it is your first time.

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,14 @@ if (!isLocalDeployment) {
9292
}
9393
}
9494

95+
// Refer to this page https://central.sonatype.org/publish/publish-gradle/
9596
try {
9697
uploadArchives {
9798
repositories {
9899
mavenDeployer {
99100
pom.groupId = 'com.smartnews'
100101
pom.artifactId = 'jpa-entity-generator'
101-
pom.version = '0.99.9'
102+
pom.version = '0.99.9' // Please update this version manually
102103

103104
if (isLocalDeployment) {
104105
def localRepoPath = 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.smartnews</groupId>
55
<artifactId>maven-jpa-entity-generator-plugin</artifactId>
66
<packaging>maven-plugin</packaging>
7-
<version>0.99.9</version>
7+
<version>0.99.9</version> <!-- Please update this version number manually -->
88
<name>maven-entitygen-plugin Maven Mojo</name>
99
<url>https://github.com/smartnews/jpa-entity-generator</url>
1010

0 commit comments

Comments
 (0)