Skip to content

Commit

Permalink
feat: Add Neo4j JBang catalog distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Jan 3, 2022
1 parent ffddee7 commit 4840904
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ the following coordinates:
* Quarkus extension: `{groupId}:{artifactIdQuarkus}:{latest_version}`
* Maven-Plugin: `{groupId}:{artifactIdMavenPlugin}:{latest_version}`

The quickest way to use the CLI is https://www.jbang.dev[JBang]. With JBang installed, just enter `jbang neo4j-migrations@neo4j --help` to get started.
Other options include Homebrew and Zip bundles. Please checkout the full list of https://michael-simons.github.io/neo4j-migrations/current/#download[download options].

== Compatibility

Neo4j-Migrations can be used against Neo4j 3.5 and all Neo4j 4.x versions upto 4.4, including Neo4j-Aura.
Expand Down
6 changes: 6 additions & 0 deletions docs/download.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ Get this version here:
curl -LO https://github.com/michael-simons/neo4j-migrations/releases/download/{latest_version}/neo4j-migrations-{latest_version}.zip
----

TIP: The architecture independent version can be used via Neo4js official https://www.jbang.dev[JBang] catalog:
+
With JBang installed, run `jbang neo4j-migrations@neo4j --help` for printing our usage information.
+
The catalog offers a couple of other scripts as well, check them out with `jbang catalog list neo4j`.

[[download_core]]
== Core API

Expand Down
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@
<templateDirectory>etc/jreleaser/distributions/brew</templateDirectory>
<tap>
<name>homebrew-neo4j-migrations</name>
<commitMessage>Bump neo4j-migrations to {{tagName}}.</commitMessage>
</tap>
<formulaName>neo4j-migrations</formulaName>
</brew>
Expand All @@ -982,6 +983,22 @@
<path>{{artifactsDir}}/{{projectName}}-{{projectVersion}}.zip</path>
</artifact>
</artifacts>
<java>
<version>8</version>
<mainClass>ac.simons.neo4j.migrations.cli.MigrationsCli</mainClass>
</java>
<jbang>
<active>ALWAYS</active>
<extraProperties>
<aliasName>neo4j-migrations</aliasName>
<scriptName>neo4j_migrations</scriptName>
<distributionGA>eu.michael-simons.neo4j:neo4j-migrations-cli</distributionGA>
</extraProperties>
<catalog>
<owner>neo4j</owner>
<commitMessage>Bump neo4j-migrations to {{tagName}}.</commitMessage>
</catalog>
</jbang>
</neo4j-migrations-no-arch>
</distributions>
</jreleaser>
Expand Down

0 comments on commit 4840904

Please sign in to comment.