Skip to content

Commit 7713614

Browse files
author
Stéphane Duchesneau
committed
fix goreleaser to rebuild JS content
1 parent b6b1e2b commit 7713614

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.goreleaser.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ release:
66
name_template: '{{.Tag}}'
77
before:
88
hooks:
9-
- yarn install --cwd eosq
10-
- yarn build --cwd eosq
11-
- yarn install --cwd dashboard/client
12-
- yarn build --cwd dashboard/client
9+
- eosq/build.sh
10+
- dashboard/client/build.sh
1311
# Requires `rice` to be installed: go get github.com/GeertJohan/go.rice/rice
1412
- go generate ./dashboard
1513
- go generate ./eosq

dashboard/client/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
pushd "$(dirname "$0")"
4+
yarn build
5+
yarn install
6+
popd

eosq/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
pushd "$(dirname "$0")"
4+
yarn build
5+
yarn install
6+
popd

0 commit comments

Comments
 (0)