Skip to content

Commit

Permalink
chore: set /bin/bash in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 21, 2024
1 parent 0748fef commit 0bc5d42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-test-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:

jobs:
build:
defaults:
run:
shell: bash
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all: build

SHELL:=/bin/bash
APP_NAME = "explore-cli"
.PHONY: dist

Expand Down Expand Up @@ -43,7 +43,7 @@ dist:
for rid in $(RIDS); do \
rm -f bin/$(APP_NAME)-$$rid/*.pdb; \
cd bin/$(APP_NAME)-$$rid; \
if [[ $$rid == *"win"* ]]; then \
if [[ "$$rid" == *"win"* ]]; then \
gzip --stdout --best *.Cli* > $(APP_NAME)-$$rid.exe.gz; \
shasum -a 256 $(APP_NAME)-$$rid.exe.gz > $(APP_NAME)-$$rid.exe.gz.256; \
mv $(APP_NAME)-$$rid.exe.gz ../../dist;\
Expand Down

0 comments on commit 0bc5d42

Please sign in to comment.