-
Notifications
You must be signed in to change notification settings - Fork 13
BuildInstruction
TAKEUCHI Hiroaki edited this page Mar 26, 2022
·
21 revisions
Guide for Twitter4J-v2 Developers / Contributors
Use IntelliJ IDEA Community Edition
.
- makes
jar
,javadoc.jar
andsources.jar
$ ./gradlew clean build -x test
- mavenLocal : deploys to
deploy to ~/.m2/repository/io/github/takke/jp.takke.twitter4j-v2/
.
$ ./gradlew :twitter4j-v2-support:publishToMavenLocal
-
Modify version name
- update
VERSION_NAME
in gradle.properties
- update
-
Add entry to CHANGELOG.md
-
Commit it
$ git add gradle.properties CHANGELOG.md
$ git commit -m "bump to vX.Y.Z"
- Test
$ ./gradlew clean test
- git tag
$ git tag vX.Y.Z
$ git push --tags
$ git push
- Publish to staging
$ ./gradlew :twitter4j-v2-support:publish
-
Release
- Visit https://s01.oss.sonatype.org/ and login
- See
Build Promotion
->Staging Repositories
- Check it and click
Close
button, then clickRefresh
button, finally clickRelease
button
-
Check released files:
-
Add to
Releases