Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/dotnet/Scip.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PropertyGroup>
<PackageId>Scip</PackageId>
<!-- Must match cmd/scip/version.txt (enforced by .github/workflows/dotnet-bindings.yaml). -->
<Version>0.9.0</Version>
<Version>0.10.0</Version>
<Description>
Generated .NET bindings for the Semantic Code Intelligence Protocol (SCIP).
</Description>
Expand Down
2 changes: 1 addition & 1 deletion bindings/haskell/scip.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.scip-code</groupId>
<artifactId>scip-java-bindings</artifactId>
<version>0.9.0</version>
<version>0.10.0</version>
<packaging>jar</packaging>

<name>scip-java-bindings</name>
Expand Down
2 changes: 1 addition & 1 deletion bindings/kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.scip-code</groupId>
<artifactId>scip-kotlin-bindings</artifactId>
<version>0.9.0</version>
<version>0.10.0</version>
<packaging>jar</packaging>

<name>scip-kotlin-bindings</name>
Expand Down
2 changes: 1 addition & 1 deletion bindings/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scip"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
license = "Apache-2.0"
description = """
Expand Down
4 changes: 2 additions & 2 deletions bindings/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/typescript/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/scip/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.10.0
4 changes: 2 additions & 2 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
27 changes: 12 additions & 15 deletions docs/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion reprolang/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "reprolang",
"version": "0.9.0"
"version": "0.10.0"
}
Loading