Skip to content

Commit 7bf3053

Browse files
Fix github release job
1 parent 4587ef8 commit 7bf3053

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ commands:
7676
apt-get -y install curl build-essential git python3 python3-pip default-jre lsof cmake file wget
7777
curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-<<parameters.arch>>"
7878
mv "bazelisk-linux-<<parameters.arch>>" /usr/local/bin/bazel
79-
chmod a+x /usr/local/bin/baze
79+
chmod a+x /usr/local/bin/bazel
8080
8181
install-bazel-brew:
8282
steps:
@@ -92,7 +92,7 @@ jobs:
9292
- run: |
9393
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
9494
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
95-
bazel run --define version=$(git rev-parse HEAD) //:deploy-linux-x86_64-targz -- snapshot
95+
bazel build --define version=$(git rev-parse HEAD) //:deploy-linux-x86_64-targz -- snapshot
9696
9797
deploy-artifact-snapshot-linux-arm64:
9898
executor: linux-arm64-amazonlinux-2
@@ -103,7 +103,7 @@ jobs:
103103
- run: |
104104
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
105105
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
106-
bazel run --define version=$(git rev-parse HEAD) //:deploy-linux-arm64-targz -- snapshot
106+
bazel build --define version=$(git rev-parse HEAD) //:deploy-linux-arm64-targz -- snapshot
107107
108108
deploy-artifact-snapshot-mac-x86_64:
109109
executor: mac-x86_64
@@ -113,7 +113,7 @@ jobs:
113113
- run: |
114114
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
115115
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
116-
bazel run --define version=$(git rev-parse HEAD) //:deploy-mac-x86_64-zip -- snapshot
116+
bazel build --define version=$(git rev-parse HEAD) //:deploy-mac-x86_64-zip -- snapshot
117117
118118
deploy-artifact-snapshot-mac-arm64:
119119
executor: mac-arm64
@@ -123,7 +123,7 @@ jobs:
123123
- run: |
124124
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
125125
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
126-
bazel run --define version=$(git rev-parse HEAD) //:deploy-mac-arm64-zip -- snapshot
126+
bazel build --define version=$(git rev-parse HEAD) //:deploy-mac-arm64-zip -- snapshot
127127
128128
deploy-artifact-snapshot-windows-x86_64:
129129
executor:
@@ -145,7 +145,7 @@ jobs:
145145
- run: |
146146
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
147147
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
148-
bazel run --define version=$(cat VERSION) //:deploy-linux-x86_64-targz --compilation_mode=opt -- release
148+
bazel build --define version=$(cat VERSION) //:deploy-linux-x86_64-targz --compilation_mode=opt
149149
- run: |
150150
mkdir -p ~/dist
151151
cp bazel-bin/typedb-console-linux-x86_64.tar.gz ~/dist/typedb-console-linux-x86_64.tar.gz
@@ -162,7 +162,7 @@ jobs:
162162
- run: |
163163
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
164164
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
165-
bazel run --define version=$(cat VERSION) //:deploy-linux-arm64-targz --compilation_mode=opt -- release
165+
bazel build --define version=$(cat VERSION) //:deploy-linux-arm64-targz --compilation_mode=opt
166166
- run: |
167167
mkdir -p ~/dist
168168
cp bazel-bin/typedb-console-linux-arm64.tar.gz ~/dist/typedb-console-linux-arm64.tar.gz
@@ -178,7 +178,7 @@ jobs:
178178
- run: |
179179
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
180180
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
181-
bazel run --define version=$(cat VERSION) //:deploy-mac-x86_64-zip --compilation_mode=opt -- release
181+
bazel build --define version=$(cat VERSION) //:deploy-mac-x86_64-zip --compilation_mode=opt
182182
- run: |
183183
mkdir -p ~/dist
184184
cp bazel-bin/typedb-console-mac-x86_64.zip ~/dist/typedb-console-mac-x86_64.zip
@@ -194,7 +194,7 @@ jobs:
194194
- run: |
195195
export DEPLOY_ARTIFACT_USERNAME=$REPO_VATICLE_USERNAME
196196
export DEPLOY_ARTIFACT_PASSWORD=$REPO_VATICLE_PASSWORD
197-
bazel run --define version=$(cat VERSION) //:deploy-mac-arm64-zip --compilation_mode=opt -- release
197+
bazel build --define version=$(cat VERSION) //:deploy-mac-arm64-zip --compilation_mode=opt
198198
- run: |
199199
mkdir -p ~/dist
200200
cp bazel-bin/typedb-console-mac-arm64.zip ~/dist/typedb-console-mac-arm64.zip

0 commit comments

Comments
 (0)