Skip to content

Commit f91b2e1

Browse files
committed
Release 0.15.1
1 parent 4c1dd74 commit f91b2e1

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

.github/workflows/artifacts.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,14 @@ on:
1111

1212
jobs:
1313
deploy:
14-
if: github.repository_owner == 'zigtools' && github.ref == 'refs/heads/master'
14+
if: github.repository_owner == 'zigtools'
1515
runs-on: ubuntu-22.04
1616
timeout-minutes: 30
1717
steps:
1818
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0 # required to resolve the version string
2121

22-
- name: Skip if no new commits
23-
run: |
24-
LAST_SUCCESS_COMMIT=$(curl -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer $GH_TOKEN" "https://api.github.com/repos/zigtools/zls/actions/workflows/artifacts.yml/runs?branch=master&status=success&per_page=1" | jq --raw-output ".workflow_runs[0].head_sha")
25-
CURRENT_COMMIT=$(git rev-parse HEAD)
26-
27-
echo "Latest commit with successfull CI: $LAST_SUCCESS_COMMIT"
28-
echo "Current commit: $CURRENT_COMMIT"
29-
30-
if [ $LAST_SUCCESS_COMMIT = $CURRENT_COMMIT ]; then
31-
echo "SKIP_DEPLOY=true" >> $GITHUB_ENV
32-
echo "skipped=yes" >> $GITHUB_OUTPUT
33-
echo "Commits are equal, skipping."
34-
fi
35-
env:
36-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
3822
- uses: mlugg/setup-zig@v2
3923
if: env.SKIP_DEPLOY != 'true'
4024
with:

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const builtin = @import("builtin");
33

44
/// Must match the `version` in `build.zig.zon`.
55
/// Remove `.pre` when tagging a new ZLS release and add it back on the next development cycle.
6-
const zls_version: std.SemanticVersion = .{ .major = 0, .minor = 15, .patch = 1, .pre = "dev" };
6+
const zls_version: std.SemanticVersion = .{ .major = 0, .minor = 15, .patch = 1 };
77

88
/// Specify the minimum Zig version that is required to compile and test ZLS:
99
/// Release 0.15.1

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.{
22
.name = .zls,
33
// Must match the `zls_version` in `build.zig`
4-
.version = "0.15.1-dev",
4+
.version = "0.15.1",
55
// Must be kept in line with the `minimum_build_zig_version` in `build.zig`.
66
// Should be a Zig version that is downloadable from https://ziglang.org/download/ or a mirror.
77
.minimum_zig_version = "0.15.1",

0 commit comments

Comments
 (0)