Skip to content

Commit 49f4f5a

Browse files
committed
BUGFIX : Fix for build pipeline.
1 parent 73a1657 commit 49f4f5a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
#sudo apt-get upgrade -y
2323
sudo apt-get install python3-virtualenv build-essential
2424
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y
25-
sudo apt-get install golang wixl msitools -y
25+
sudo apt-get install gccgo-go wixl msitools -y
2626
sudo pip install hitchkey
2727
28-
- name: Setup tmate session
29-
uses: mxschmitt/action-tmate@v3
28+
#- name: Setup tmate session
29+
#uses: mxschmitt/action-tmate@v3
3030

3131
- name: Build multiarch
3232
run: hk multiarch

hitch/key.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def buildhk():
212212
def dogfoodhk():
213213
"""Compile and install new bootstrap to dogfood."""
214214
bootstrap_path = DIR.project / "bootstrap"
215-
Command("go")("build", "-ldflags=-s -w", "hk.go").in_dir(bootstrap_path).run()
215+
Command("go")("build", "hk.go").in_dir(bootstrap_path).run()
216216
bootstrap_path.joinpath("hk").copy("/home/colm/bin/hk")
217217

218218
@expected(CommandError)
@@ -226,15 +226,15 @@ def multiarch():
226226

227227
go = Command("go").in_dir(bootstrap_path)
228228
print("Building for linux...")
229-
go("build", "-o", "hk-linux-amd64", "-ldflags=-s -w", "hk.go").with_env(GOOS="linux", GOARCH="amd64").run()
229+
go("build", "-o", "hk-linux-amd64", "hk.go").with_env(GOOS="linux", GOARCH="amd64").run()
230230
bootstrap_path.joinpath("hk-linux-amd64").copy(dist_path)
231231

232232
print("Building for mac...")
233-
go("build", "-o", "hk-darwin-amd64", "-ldflags=-s -w", "hk.go").with_env(GOOS="darwin", GOARCH="amd64").run()
233+
go("build", "-o", "hk-darwin-amd64", "hk.go").with_env(GOOS="darwin", GOARCH="amd64").run()
234234
bootstrap_path.joinpath("hk-darwin-amd64").copy(dist_path)
235235

236236
print("Building for windows...")
237-
go("build", "-o", "hk.exe", "-ldflags=-s -w", "hk.go").with_env(GOOS="linux", GOARCH="amd64").run()
237+
go("build", "-o", "hk.exe", "hk.go").with_env(GOOS="linux", GOARCH="amd64").run()
238238
bootstrap_path.joinpath("hk.exe").copy(dist_path)
239239

240240
print("Building MSI For windows...")

0 commit comments

Comments
 (0)