From 2bbe113c3aa3a565899eb4c713af6d1e5c354b20 Mon Sep 17 00:00:00 2001 From: Taufan Aditya Date: Fri, 29 Mar 2024 21:08:03 +0700 Subject: [PATCH 1/4] Fix workflow --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fe8ca809..f1978778 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - hotfix/workflow tags: - v* From 75c155ce1f33f37d70660fbddf57bf0744188dd9 Mon Sep 17 00:00:00 2001 From: Taufan Aditya Date: Fri, 29 Mar 2024 21:10:32 +0700 Subject: [PATCH 2/4] Update release.yaml --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f1978778..8eee32e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,8 +30,7 @@ jobs: GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} run: | - ls -la - GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o build/ ./cmd/cli/raiden.go + GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o build/ ./cmd/raiden/main.go cd build if [[ $GOOS == 'darwin' ]]; then tar cvf raiden-macos-"$GOARCH".tar.gz raiden From 754c0ff56e822eec22e510f4160057a2082fc828 Mon Sep 17 00:00:00 2001 From: Taufan Aditya Date: Fri, 29 Mar 2024 21:12:35 +0700 Subject: [PATCH 3/4] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8eee32e1..80dca3d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} run: | - GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o build/ ./cmd/raiden/main.go + GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -o build/raiden ./cmd/raiden/main.go cd build if [[ $GOOS == 'darwin' ]]; then tar cvf raiden-macos-"$GOARCH".tar.gz raiden From 887860158e32b6185e5dc81e0e33b4aae599ccf1 Mon Sep 17 00:00:00 2001 From: Taufan Aditya Date: Fri, 29 Mar 2024 21:14:11 +0700 Subject: [PATCH 4/4] chore(gh): exclude hotfix branch --- .github/workflows/release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 80dca3d5..9870d3d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,7 +4,6 @@ on: push: branches: - main - - hotfix/workflow tags: - v*