Skip to content

Commit dfaa692

Browse files
authored
ci: fix release-server workflow by specifying fetch dept and fetch tags flag for checkout. Update brew formula (#143)
- fix release-server workflow by specifying fetch dept and fetch tags flag for checkout - Update brew formula
1 parent 1484f18 commit dfaa692

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/release-server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ jobs:
3232
steps:
3333
- name: Checkout code
3434
uses: actions/checkout@v4
35-
with:
36-
fetch-depth: 0
37-
fetch-tags: true
3835

3936
- name: Setup Rust
4037
uses: dtolnay/rust-toolchain@stable
@@ -92,6 +89,9 @@ jobs:
9289
steps:
9390
- name: Checkout code
9491
uses: actions/checkout@v4
92+
with:
93+
fetch-depth: 0
94+
fetch-tags: true
9595

9696
- name: Download all artifacts
9797
uses: actions/download-artifact@v4

pkg/homebrew/Formula/quickmark-cli.rb

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@ class QuickmarkCli < Formula
22
desc "Lightning-fast Markdown/CommonMark linter CLI tool with tree-sitter based parsing"
33
homepage "https://github.com/ekropotin/quickmark"
44
license "MIT"
5-
version "1.0.0"
5+
version "1.1.0"
66

77
on_macos do
88
if Hardware::CPU.intel?
9-
url "https://github.com/ekropotin/quickmark/releases/download/quickmark-cli%40#{version}/qmark-x86_64-apple-darwin"
10-
sha256 "309161921d26ea93f1b8f3f6738346bcf032e42a12b600363b43f76f87158bba"
9+
url "https://github.com/ekropotin/quickmark/releases/download/quickmark-cli%40#{version}/qmark-x86_64-apple-darwin.tar.gz"
10+
sha256 "sha256:90740f9c0632d8b1da4d00c9c6361c01eb9a72c074641f6952723e6583bbdd8d"
1111
else
12-
url "https://github.com/ekropotin/quickmark/releases/download/quickmark-cli%40#{version}/qmark-aarch64-apple-darwin"
13-
sha256 "c6cc057df011d1df9ee2d0a60d6f2634d78561b57d3afd85cbd89715d737649d"
14-
end
15-
end
16-
17-
def install
18-
if Hardware::CPU.intel?
19-
bin.install "qmark-x86_64-apple-darwin" => "qmark"
20-
else
21-
bin.install "qmark-aarch64-apple-darwin" => "qmark"
12+
url "https://github.com/ekropotin/quickmark/releases/download/quickmark-cli%40#{version}/qmark-aarch64-apple-darwin.tar.gz"
13+
sha256 "sha256:4466f54fd304d34d21dba7871a09d4d24df6c23f7cee48fae1f4a6a1f5466855"
2214
end
2315
end
2416

0 commit comments

Comments
 (0)