Skip to content

Commit e6e53b6

Browse files
Merge pull request #413 from github/lang-releases
Release all language crates
2 parents 7b15ca4 + f1d2ef5 commit e6e53b6

File tree

11 files changed

+80
-9
lines changed

11 files changed

+80
-9
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish tree-sitter-stack-graphs-python release
2+
3+
on:
4+
push:
5+
tags:
6+
- tree-sitter-stack-graphs-python-v*
7+
8+
jobs:
9+
publish-crate:
10+
runs-on: ubuntu-latest
11+
env:
12+
CARGO_TERM_COLOR: always
13+
CARGO_INCREMENTAL: 0
14+
CRATE_DIR: './languages/tree-sitter-stack-graphs-python'
15+
steps:
16+
- name: Install Rust environment
17+
uses: hecrj/setup-rust-action@v1
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
# TODO Verify the crate version matches the tag
21+
- name: Test crate
22+
run: cargo test --all-features
23+
working-directory: ${{ env.CRATE_DIR }}
24+
- name: Verify publish crate
25+
run: cargo publish --dry-run
26+
working-directory: ${{ env.CRATE_DIR }}
27+
- name: Publish crate
28+
run: cargo publish
29+
working-directory: ${{ env.CRATE_DIR }}
30+
env:
31+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
32+
create-release:
33+
needs: publish-crate
34+
runs-on: ubuntu-latest
35+
permissions:
36+
contents: write
37+
steps:
38+
- name: Checkout repository
39+
uses: actions/checkout@v3
40+
- name: Create GitHub release
41+
uses: ncipollo/release-action@v1
42+
with:
43+
body: |
44+
Find more info on all releases at https://crates.io/crates/tree-sitter-stack-graphs-python.
45+
token: ${{ secrets.GITHUB_TOKEN }}

languages/tree-sitter-stack-graphs-java/CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## v0.3.0 -- 2024-03-06
99

10-
## [0.2.0] - 2023-03-21
10+
The `tree-sitter-stack-graphs` is updated to `v0.8`.
11+
12+
### Changed
13+
14+
- The `cli` feature is now required to install the CLI.
15+
16+
## v0.2.0 -- 2023-03-21
1117

1218
### Added
1319

languages/tree-sitter-stack-graphs-java/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs-java"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "Stack graphs for the Java programming language"
55

66
homepage = "https://github.com/github/stack-graphs/tree/main/languages/tree-sitter-stack-graphs-java"

languages/tree-sitter-stack-graphs-java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use this library, add the following to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
16-
tree-sitter-stack-graphs-java = "0.2.0"
16+
tree-sitter-stack-graphs-java = "0.3"
1717
```
1818

1919
Check out our [documentation](https://docs.rs/tree-sitter-stack-graphs-java/*/) for more details on how to use this library.

languages/tree-sitter-stack-graphs-javascript/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## v0.1.0 -- 2024-03-06
9+
10+
Initial release.

languages/tree-sitter-stack-graphs-javascript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use this library, add the following to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
16-
tree-sitter-stack-graphs-javascript = "0.1.0"
16+
tree-sitter-stack-graphs-javascript = "0.1"
1717
```
1818

1919
Check out our [documentation](https://docs.rs/tree-sitter-stack-graphs-javascript/*/) for more details on how to use this library.

languages/tree-sitter-stack-graphs-python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## v0.1.0 -- 2024-03-06
9+
10+
Initial release.

languages/tree-sitter-stack-graphs-python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use this library, add the following to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
16-
tree-sitter-stack-graphs-python = "0.1.0"
16+
tree-sitter-stack-graphs-python = "0.1"
1717
```
1818

1919
Check out our [documentation](https://docs.rs/tree-sitter-stack-graphs-python/*/) for more details on how to use this library.

languages/tree-sitter-stack-graphs-typescript/CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## v0.2.0 -- 2024-03-06
9+
10+
The `tree-sitter-stack-graphs` is updated to `v0.8`.
11+
12+
### Added
13+
14+
- An experimental VSCode LSP plugin that supports code navigation based on the stack graph rules. _Purely an experiment, not ready for serious use!_ Requires the `lsp` feature to be enabled.
15+
16+
### Changed
17+
18+
- Various improvements to the rules for imports and packages.
19+
20+
## v0.1.0 -- 2023-01-27
921

1022
### Added
1123

languages/tree-sitter-stack-graphs-typescript/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs-typescript"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "Stack graphs definition for TypeScript using tree-sitter-typescript"
55
readme = "README.md"
66
keywords = ["tree-sitter", "stack-graphs", "typescript"]

0 commit comments

Comments
 (0)