Skip to content

Commit

Permalink
Bump to 0.3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Nov 27, 2021
1 parent 9ec0271 commit 254c1e0
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: install
args: --path . --debug
args: --path crates/flowistry_ide --debug
- run: npm install && npm run build
working-directory: ide
- run: pip3 install -r scripts/requirements.txt && python3 scripts/check_versions.py
Expand Down
8 changes: 4 additions & 4 deletions 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 crates/flowistry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flowistry"
version = "0.3.19"
version = "0.3.20"
edition = "2021"
authors = ["Will Crichton <[email protected]>"]
description = "Powerful IDE tools for Rust"
Expand Down
2 changes: 1 addition & 1 deletion crates/flowistry_ide/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flowistry_ide"
version = "0.3.19"
version = "0.3.20"
edition = "2021"

[package.metadata.rust-analyzer]
Expand Down
2 changes: 1 addition & 1 deletion crates/flowistry_ifc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flowistry_ifc"
version = "0.3.19"
version = "0.3.20"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/flowistry_ifc_traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flowistry_ifc_traits"
version = "0.1.0"
version = "0.3.20"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": "git"
},
"description": "Powerful IDE tools for Rust",
"version": "0.3.19",
"version": "0.3.20",
"engines": {
"vscode": "^1.54.0"
},
Expand Down
2 changes: 1 addition & 1 deletion ide/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export async function setup(
} catch (e: any) {
log("Install script failed with error:", e.toString());

let cargo_cmd = `${cargo} install flowistry --version ${VERSION} --force`;
let cargo_cmd = `${cargo} install flowistry_ide --version ${VERSION} --force`;
await exec_notify(
cargo_cmd,
"Flowistry binaries not available, instead installing Flowistry crate from source... (this may take a minute)"
Expand Down
4 changes: 1 addition & 3 deletions scripts/check_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
import toml
import json

rust_pkg_version = toml.load(open('./Cargo.toml', 'r'))['package']['version']
js_pkg_version = json.load(open('./ide/package.json', 'r'))['version']
cli_version = sp.check_output('cargo flowistry -V', shell=True).decode('utf-8').split(' ')[1].strip()

print('Rust package version: ', rust_pkg_version)
print('JS package version: ', js_pkg_version)
print('CLI version: ', cli_version)

assert rust_pkg_version == js_pkg_version and js_pkg_version == cli_version
assert js_pkg_version == cli_version

0 comments on commit 254c1e0

Please sign in to comment.