- Download and install Docker
-
Run the update script:
./update_generated_code.sh
-
Add the license header back to the generated source file.
We're hosting releases on the Maven Central Repository.
Note that we are using GitHub actions to publish new releases. These are the steps that were followed for publishing the gtfs-realtime-bindings
library on ossrh
repository using GitHub actions.
To sign the application (required for publishing to Maven Central) we use a GPG key as described here.
- Create a new branch from the
master
branch and use it to push a commit to change to release version (i.e., without the-SNAPSHOT
). - Open a PR with this release version and merge it in the
master
branch. - Create a tag with the name and release version
gtfs-realtime-bindings-java-[X].[Y].[Z]
(Note the addition of-java
) - Create a new branch from the
master
branch and use it to push a commit to change to the next snapshot version (e.g., from0.0.1
to0.0.2-SNAPSHOT
). - Open a PR with this snapshot version and merge it in the
master
branch.