@@ -114,22 +114,22 @@ jobs:
114
114
working_directory : ~/iotex-core
115
115
steps :
116
116
- checkout
117
- - run : cd ioctl/ && ./buildcli.sh
117
+ - run : cd tools/ ioctl/ && ./buildcli.sh
118
118
- run : cd tools/actioninjector.v2/ && ./build_injector.sh
119
- - run :
119
+ - run :
120
120
name : build bin put s3 (unstable) or github (release)
121
121
command : |
122
122
if [ "${VERSION}" ]; then
123
123
echo "Put bin to github release ${VERSION}"
124
124
go get -u github.com/tcnksm/ghr
125
125
arg="-t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION}"
126
126
echo $arg
127
- ghr $arg ioctl/release/
127
+ ghr $arg tools/ ioctl/release/
128
128
ghr $arg tools/actioninjector.v2/release/
129
129
else
130
130
sudo apt-get install python python-pip
131
131
sudo pip install awscli
132
- aws s3 sync ioctl/release/ ${S3_BUCKET_DIR}
132
+ aws s3 sync tools/ ioctl/release/ ${S3_BUCKET_DIR}
133
133
aws s3 sync tools/actioninjector.v2/release/ ${S3_BUCKET_DIR}
134
134
fi
135
135
@@ -150,7 +150,7 @@ jobs:
150
150
- restore_cache :
151
151
keys :
152
152
- go-mod-v1-{{ checksum "go.sum" }}
153
- - run :
153
+ - run :
154
154
name : go mod
155
155
command : |
156
156
export PATH=$PATH:/usr/local/go/bin
@@ -166,8 +166,8 @@ jobs:
166
166
export GOPATH=~/go
167
167
export GOROOT="/usr/local/go"
168
168
export PATH=$PATH:$GOPATH/bin:$PATH:$GOROOT/bin
169
- cd ioctl/ && ./buildcli.sh
170
- cd ../tools/ actioninjector.v2/ && ./build_injector.sh
169
+ cd tools/ ioctl/ && ./buildcli.sh
170
+ cd ../actioninjector.v2/ && ./build_injector.sh
171
171
- run :
172
172
name : build bin put s3 (unstable) or github (release)
173
173
command : |
@@ -176,11 +176,11 @@ jobs:
176
176
go get -u github.com/tcnksm/ghr
177
177
arg="-t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION}"
178
178
echo $arg
179
- ghr $arg ioctl/release/
179
+ ghr $arg tools/ ioctl/release/
180
180
ghr $arg tools/actioninjector.v2/release/
181
181
else
182
182
sudo pip install awscli
183
- aws s3 sync ioctl/release/ ${S3_BUCKET_DIR}
183
+ aws s3 sync tools/ ioctl/release/ ${S3_BUCKET_DIR}
184
184
aws s3 sync tools/actioninjector.v2/release/ ${S3_BUCKET_DIR}
185
185
fi
186
186
0 commit comments