Skip to content

Commit

Permalink
[WOR-1829] Update Rawls model version (#3062)
Browse files Browse the repository at this point in the history
* Update Rawls model version (WOR-1829).

* review feedback
  • Loading branch information
cahrens authored Oct 2, 2024
1 parent b291f5c commit c76c640
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@ Supported Scala versions: 2.13
Running the `publishRelease.sh` script publishes a release of rawls-model, workbench-util and workbench-google to Artifactory.
You should do this manually from the base directory of the repo when you change something in `model/src`, `util/src` or `google/src`.

- The [`rawls-build` GitHub action](https://github.com/broadinstitute/terra-github-workflows/actions/workflows/rawls-build.yaml)
publishes these libraries, but it makes "unofficial" `-SNAP` versions. This action runs on every dev build as part of the
[`rawls-build-tag-publish-and-run-tests` workflow](https://github.com/broadinstitute/rawls/blob/develop/.github/workflows/rawls-build-tag-publish-and-run-tests.yaml).

Note: We have started just using the automatically generated `-SNAP` versions published by [`rawls-build` GitHub action](https://github.com/broadinstitute/terra-github-workflows/actions/workflows/rawls-build.yaml) on every dev build. Here are detailed instructions for finding the name of the jar file:
* Navigate to the [`rawls-build-tag-publish-and-run-tests` workflow](https://github.com/broadinstitute/rawls/blob/develop/.github/workflows/rawls-build-tag-publish-and-run-tests.yaml) github action for your commit
* Navigate to the rawls-build-publish-job job of that workflow
* Open the "dispatch build" step, and click over to the run in terra-github-workflows
* Expand the "Publish model library" step
* Note that version published, e.g. "rawls-model_2.13-v0.0.180-SNAP.jar"

To publish a temporary or test version, use `publishSnapshot.sh` like so:

Expand Down
2 changes: 1 addition & 1 deletion automation/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ object Dependencies {
"org.scalatest" %% "scalatest" % "3.2.2" % Test,
"org.seleniumhq.selenium" % "selenium-java" % "3.8.1" % Test,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
"org.broadinstitute.dsde" %% "rawls-model" % "v0.0.180-SNAP"
"org.broadinstitute.dsde" %% "rawls-model" % "v0.0.189-SNAP"
exclude("com.typesafe.scala-logging", "scala-logging_2.13")
exclude("com.typesafe.akka", "akka-stream_2.13")
exclude("bio.terra", "workspace-manager-client"),
Expand Down
2 changes: 1 addition & 1 deletion model/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Added:
- Support 2.13
- ExecutionModel classes moved from core to model

SBT dependency: `"org.broadinstitute.dsde" %% "rawls-model" % "v0.0.180-SNAP"`
SBT dependency: `"org.broadinstitute.dsde" %% "rawls-model" % "v0.0.189-SNAP"`

0 comments on commit c76c640

Please sign in to comment.