Skip to content

Commit 5720d81

Browse files
authored
Remove version override (#79)
1 parent b4fc149 commit 5720d81

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

build.sbt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,3 @@ scriptedLaunchOpts ++= Seq(
8484
s"-Dscip-java.version=${Versions.semanticdbJavacVersion()}",
8585
s"-Dplugin.version=${version.value}"
8686
)
87-
88-
def isCI = "true" == System.getenv("CI")
89-
ThisBuild / version := { if (!isCI) "dev" else version.value }

readme.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Next, add the sbt plugin to your build in `project/plugins.sbt`.
2727

2828
```diff
2929
// project/plugins.sbt
30-
+ addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.2.1")
30+
+ addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.4.0")
3131
```
3232

3333
Next, enable SemanticDB in `build.sbt` and use the latest version of SemanticDB.
@@ -83,10 +83,7 @@ If you don't want to enable SemanticDB in `build.sbt`, you can do it a single
8383
sbt session inside the upload CI job.
8484

8585
```sh
86-
$ sbt \
87-
'set every semanticdbEnabled := true' \
88-
'set every semanticdbVersion := "LATEST_VERSION"' \
89-
sourcegraphUpload
86+
$ sbt sourcegraphEnable sourcegraphUpload
9087
```
9188

9289
If you have projects that don't work with SemanticDB, you can optionally enable
@@ -151,15 +148,10 @@ sbt sourcegraphUpload
151148
[`src`](https://github.com/sourcegraph/src-cli) binary. The `src` binary needs
152149
to be installed separately.
153150
- `sourcegraphExtraUploadArguments: List[String]`: additional arguments to use
154-
for the `src lsif upload` command. Run `src lsif upload --help` for example
151+
for the `src code-intel upload` command. Run `src code-intel upload --help` for example
155152
flags you may want to configure.
156153
- `sourcegraphRoot: String`: root directory of this sbt build.
157154

158-
**Removed settings**:
159-
160-
- (no longer used) `sourcegraphLsifSemanticdbBinary: String`: path to the
161-
[`lsif-semanticdb`](https://github.com/sourcegraph/lsif-semanticdb/) binary.
162-
163155
## Disable plugin for specific project
164156

165157
Use `.disablePlugins(SourcegraphPlugin))` to disable this plugin for a specific

0 commit comments

Comments
 (0)