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
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
run: |
bazel/setup-ci.sh
mkdir -p editors/code/dist
tag=${{ github.ref_name }}
# Strip the 'v'
version=${tag:1}
# Replace the version in the file so we don't need to do it manually
awk '{ sub(/version = .*/, "version = "$version"") }; 1' crates/starpls/Cargo.toml > output.toml && mv output.toml crates/starpls/Cargo.toml
# env:
# BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
- name: Build
Expand All @@ -48,6 +53,11 @@ jobs:
echo "startup --output_user_root=C:/b" >>.bazelrc
echo "startup --windows_enable_symlinks" >>.bazelrc
mkdir -p editors/code/dist
tag=${{ github.ref_name }}
# Strip the 'v'
version=${tag:1}
# Replace the version in the file so we don't need to do it manually
awk '{ sub(/version = .*/, "version = "$version"") }; 1' crates/starpls/Cargo.toml > output.toml && mv output.toml crates/starpls/Cargo.toml
shell: bash
# env:
# BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion crates/starpls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starpls"
version = "0.1.22"
version = "0.0.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down