diff --git a/bindings/dotnet/Scip.csproj b/bindings/dotnet/Scip.csproj index 88d9f9da..1944fb51 100644 --- a/bindings/dotnet/Scip.csproj +++ b/bindings/dotnet/Scip.csproj @@ -16,7 +16,7 @@ Scip - 0.9.0 + 0.10.0 Generated .NET bindings for the Semantic Code Intelligence Protocol (SCIP). diff --git a/bindings/haskell/scip.cabal b/bindings/haskell/scip.cabal index 6b6d7410..3e88b919 100644 --- a/bindings/haskell/scip.cabal +++ b/bindings/haskell/scip.cabal @@ -1,7 +1,7 @@ cabal-version: 3.6 name: scip -version: 0.9.0 +version: 0.10.0 synopsis: Haskell bindings for the SCIP code intelligence protocol description: SCIP (pronounced "skip") is a language-agnostic protocol for diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml index 55c97b40..42dcdcb2 100644 --- a/bindings/java/pom.xml +++ b/bindings/java/pom.xml @@ -6,7 +6,7 @@ org.scip-code scip-java-bindings - 0.9.0 + 0.10.0 jar scip-java-bindings diff --git a/bindings/kotlin/pom.xml b/bindings/kotlin/pom.xml index 5b11575c..8edaa045 100644 --- a/bindings/kotlin/pom.xml +++ b/bindings/kotlin/pom.xml @@ -6,7 +6,7 @@ org.scip-code scip-kotlin-bindings - 0.9.0 + 0.10.0 jar scip-kotlin-bindings diff --git a/bindings/rust/Cargo.lock b/bindings/rust/Cargo.lock index f3452c68..ffc5bc04 100644 --- a/bindings/rust/Cargo.lock +++ b/bindings/rust/Cargo.lock @@ -64,7 +64,7 @@ dependencies = [ [[package]] name = "scip" -version = "0.9.0" +version = "0.10.0" dependencies = [ "pretty_assertions", "protobuf", diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index f473f62b..81b691d7 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scip" -version = "0.9.0" +version = "0.10.0" edition = "2021" license = "Apache-2.0" description = """ diff --git a/bindings/typescript/package-lock.json b/bindings/typescript/package-lock.json index f74673e0..55597319 100644 --- a/bindings/typescript/package-lock.json +++ b/bindings/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scip-code/scip", - "version": "0.9.0", + "version": "0.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@scip-code/scip", - "version": "0.9.0", + "version": "0.10.0", "license": "Apache-2.0", "dependencies": { "@bufbuild/protobuf": "^2.11.0" diff --git a/bindings/typescript/package.json b/bindings/typescript/package.json index e293ea2c..ad7373c7 100644 --- a/bindings/typescript/package.json +++ b/bindings/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@scip-code/scip", - "version": "0.9.0", + "version": "0.10.0", "description": "Generated TypeScript definitions for the Semantic Code Intelligence Protocol.", "repository": { "type": "git", diff --git a/checks.nix b/checks.nix index 19520a16..819152cc 100644 --- a/checks.nix +++ b/checks.nix @@ -175,7 +175,7 @@ pname = "scip-bindings-typescript"; inherit version; src = ./bindings/typescript; - npmDepsHash = "sha256-wa2Qh3FfCo01ew8vA4w5snd1wb1jQv/GaVR+vjiIrYI="; + npmDepsHash = "sha256-OiM5KpWXA5DTEtVeWH7AXpo7Ttg4NWY6OLx2WTRPGfE="; buildPhase = '' runHook preBuild npm run build diff --git a/cmd/scip/version.txt b/cmd/scip/version.txt index ac39a106..78bc1abd 100644 --- a/cmd/scip/version.txt +++ b/cmd/scip/version.txt @@ -1 +1 @@ -0.9.0 +0.10.0 diff --git a/docs/CLI.md b/docs/CLI.md index c2a896e3..4e81ff91 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -18,7 +18,7 @@ USAGE: scip [global options] [command [command options]] VERSION: - v0.9.0 + v0.10.0 DESCRIPTION: For more details, see the project README at: @@ -122,7 +122,7 @@ DESCRIPTION: matches that specified in human-readable test files, using syntax similar to the 'snapshot' subcommand. Test file syntax reference: - https://github.com/scip-code/scip/blob/v0.9.0 + https://github.com/scip-code/scip/blob/v0.10.0 /docs/test_file_format.md The test files are located based on the relative_path field diff --git a/docs/Development.md b/docs/Development.md index 1ea534ee..b80fa45b 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -80,21 +80,18 @@ go test ./cmd/scip -update-snapshots ## Release a new version -Update the version in `cmd/scip/version.txt`, `bindings/rust/Cargo.toml`, -`bindings/rust/Cargo.lock`, `bindings/java/pom.xml`, `bindings/kotlin/pom.xml`, -`bindings/dotnet/Scip.csproj`, and `docs/CLI.md`, then land a commit with those -changes. The [jvm-bindings workflow](/.github/workflows/jvm-bindings.yaml) -fails the PR if the two `pom.xml` versions don't match `cmd/scip/version.txt`, -and the [dotnet-bindings workflow](/.github/workflows/dotnet-bindings.yaml) -does the same for `Scip.csproj`. - -After the commit is on `main`, trigger the -[release workflow](/.github/workflows/release.yaml) from the -Actions tab on GitHub, providing the version number (e.g. `0.7.0`). -The workflow will validate version.txt, create and push tags, create a draft -GitHub release (with auto-generated notes), publish the Rust crate, publish the -Java/Kotlin bindings to Maven Central, publish the .NET bindings to NuGet, -build and upload CLI binaries, and finally mark the release as non-draft. +Update the version in `cmd/scip/version.txt` and all package manifests and +lockfiles under `bindings/`, as well as `reprolang/package.json` and +`docs/CLI.md`, then land a commit with those changes. CI validates that the +package versions match `cmd/scip/version.txt`. + +When the commit reaches `main`, the change to `cmd/scip/version.txt` +automatically triggers the [release workflow](/.github/workflows/release.yaml). +The workflow validates the version, creates and pushes tags, creates a draft +GitHub release (with auto-generated notes), publishes all language bindings, +builds and uploads CLI binaries, and finally marks the release as non-draft. +Manual dispatch re-runs the version currently on `main`; it does not accept a +version input. ### JVM bindings publishing diff --git a/reprolang/package.json b/reprolang/package.json index 1dd38464..106b6e85 100644 --- a/reprolang/package.json +++ b/reprolang/package.json @@ -1,4 +1,4 @@ { "name": "reprolang", - "version": "0.9.0" + "version": "0.10.0" }