Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure the commit on which you perform the following task has the message: :bookmark: X.X.X
  2. Commit and push tag named after the version X.X.X
    git tag X.X.X
    git push origin X.X.X
  3. This requires having publishUsername, publishPassword, and publishPassword (public repositories) and/or artifactoryUsername nexusUsername, and artifactoryPassword nexusPassword (private repositories) added to your gradle.properties.
    If the project is open source, you will be publishing to the public /wiki/spaces/HOWTO/pages/14288924.
    For the public repositories, publishUsername and publishPassword are actually generated tokens rather than your credentials. See Creating a Token.
    If the project is closed source, you will be publishing to our locally hosted /wiki/spaces/ADAA/pages/1697598616975952.
    Instructions are found in the IHMC Build README and .
  4. Run
    gradle compositePublish -PpublishUrl=ihmcRelease
    (from IHMC Build README) Note: You can do all of these things from Eclipse if you wish. For the gradle publish, Open Gradle Tasks, then right click on publish: 

    and select Open Gradle Run Configuration... Change the gradle task to publish -PpublishUrl=ihmcRelease. Apply and save this. This will now show up under the Run Configurations:
  5. You can check that it worked by looking here: https://s01.oss.sonatype.org/content/repositories/releases/us/ihmc/
    and when it's actually resolvable by Gradle it'll show up here (this can take like 15 minutes): https://repo.maven.apache.org/maven2/us/ihmc/
    or, if closed source, here: https://nexus.ihmc.us/#browse/browse:proprietary-releases

...