Skip to content

Commit 5dd8a90

Browse files
committed
fix: release builds ignoring linux-arm for now
1 parent 565c9f1 commit 5dd8a90

2 files changed

Lines changed: 5 additions & 18 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
target: darwin-x64
2020
- os: ubuntu-latest
2121
target: linux-x64
22-
- os: ubuntu-latest
23-
target: linux-arm64
22+
# Note: linux-arm64 requires native ARM runner, skipped for now
2423

2524
runs-on: ${{ matrix.os }}
2625

@@ -96,7 +95,6 @@ jobs:
9695
echo "darwin_arm64=$(grep darwin-arm64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
9796
echo "darwin_x64=$(grep darwin-x64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
9897
echo "linux_x64=$(grep linux-x64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
99-
echo "linux_arm64=$(grep linux-arm64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
10098
10199
- name: Create Release
102100
uses: softprops/action-gh-release@v2
@@ -118,7 +116,6 @@ jobs:
118116
DARWIN_ARM64="${{ steps.checksums.outputs.darwin_arm64 }}"
119117
DARWIN_X64="${{ steps.checksums.outputs.darwin_x64 }}"
120118
LINUX_X64="${{ steps.checksums.outputs.linux_x64 }}"
121-
LINUX_ARM64="${{ steps.checksums.outputs.linux_arm64 }}"
122119
123120
cat > Formula/devproc.rb << EOF
124121
# typed: false
@@ -141,13 +138,8 @@ jobs:
141138
end
142139
143140
on_linux do
144-
if Hardware::CPU.arm?
145-
url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-arm64.tar.gz"
146-
sha256 "${LINUX_ARM64}"
147-
else
148-
url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-x64.tar.gz"
149-
sha256 "${LINUX_X64}"
150-
end
141+
url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-x64.tar.gz"
142+
sha256 "${LINUX_X64}"
151143
end
152144
153145
def install

Formula/devproc.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,8 @@ class Devproc < Formula
2020
end
2121

2222
on_linux do
23-
if Hardware::CPU.arm?
24-
url "https://github.com/captjt/devproc/releases/download/v#{version}/devproc-v#{version}-linux-arm64.tar.gz"
25-
sha256 "PLACEHOLDER_LINUX_ARM64_SHA256"
26-
else
27-
url "https://github.com/captjt/devproc/releases/download/v#{version}/devproc-v#{version}-linux-x64.tar.gz"
28-
sha256 "PLACEHOLDER_LINUX_X64_SHA256"
29-
end
23+
url "https://github.com/captjt/devproc/releases/download/v#{version}/devproc-v#{version}-linux-x64.tar.gz"
24+
sha256 "PLACEHOLDER_LINUX_X64_SHA256"
3025
end
3126

3227
def install

0 commit comments

Comments
 (0)