regex-directed-graph-line-parser
![CI](https://github.com/ScottG489/regex-directed-graph-line-parser/workflows/CI/badge.svg)
A regular expression parser for data structured on lines appearing in a consistent order.
Development
To build and run unit tests simply run ./gradlew build
To run the CI build locally run ./test.sh
. Be sure to fill in the correct credentials in the script if necessary.
Note that you'll need to comment out the git clone
in infra/build/run.sh
otherwise it will fail since you've
mounted a directory where it will attempt to clone to.
Releasing
Be sure to update the version in build.gradle
to a version not ending with -SNAPSHOT
. Then make a subsequent commit
with a snapshot for the next version. This will prevent old versions from being uploaded and staged in sonatype.
After artifacts are uploaded you'll need to manually release it here:
https://s01.oss.sonatype.org/#stagingRepositories
The steps to release are:
- Delete any old artifacts that are staged. The CI build will upload all artifacts here that aren't snapshots
(appended with
-SNAPSHOT
) so some may be in here. The release will fail if there are old artifacts because it
will refuse to overwrite an existing version.
- Select the staging repository
- Select the "Content" tab in the lower panel
- Traverse the directory structure until you get to where versions are listed. Delete any versions you do not wish
to release
- With the repository selected click on "Close" above the main panel. The version will run through a set of
validations that could take up to 5-15 minutes. You can follow these by viewing the "Activity" tab in the lower
panel. Once successful, you can then click the "Release" button above the upper panel. Note that the release can
still fail, for instance, if there are existing artifacts that it will refuse to overwrite.
The version can take a bit of time to show up in the main repository found here:
https://repo1.maven.org/maven2/io/github/scottg489/regex-directed-graph-line-parser/
It can also be found here I believe immediately:
https://s01.oss.sonatype.org/content/repositories/staging/io/github/scottg489/regex-directed-graph-line-parser/