Skip to content

Latest commit

 

History

History
86 lines (76 loc) · 4.66 KB

RELEASING.md

File metadata and controls

86 lines (76 loc) · 4.66 KB

Releasing for a specific version

Releasing for a specific existing version might be needed for example in case of new Scala version.

To peform it on CI, create and push a tag with a special name: semanticdb_v${existing-scalameta-version}_${scala_version}. You can also do it manually. The local flow is:

  • set the needed secrets (https://github.com/sbt/sbt-ci-release#secrets)

  • run sbt console, check if the credentials are available using show credentials, you might need to run sbt from bash when having issues with other shells

  • run set every version := "4.5.9" - replace 4.5.9 with the specific version you are releasing for

  • run ++2.12.17 or another Scala version you need

  • run semanticdbScalacCore/publishSigned, semanticdbScalacPlugin/publishSigned and metac/publishSigned

  • make sure that everything is properly generated to target/sonatype-staging directory

  • run sonatypeBundleRelease