Skip to content

Commit 407a9b9

Browse files
committed
Remove 'select' statement in :assemble-linux-targz
1 parent 3819c44 commit 407a9b9

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- checkout
8383
- install-bazel-linux
8484
- run: bazel build //:assemble-platform
85-
- run: bazel build //:assemble-targz
85+
- run: bazel build //:assemble-linux-targz
8686
- run: |
8787
mkdir -p ~/src
8888
mkdir -p ~/dist

BUILD

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,13 @@ assemble_jvm_platform(
149149
windows_menu_group = "TypeDB Studio",
150150
)
151151

152+
# A little misleading. Because of the way our java_deps target is generated, this will actually produce a Mac runner
153+
# if built on Mac, and fail to produce anything useful if built on Windows.
152154
assemble_targz(
153-
name = "assemble-targz",
155+
name = "assemble-linux-targz",
154156
targets = [":assemble-deps", "//binary:assemble-bash-targz"],
155157
additional_files = assemble_files,
156-
output_filename = "typedb-studio-" + select({
157-
"@vaticle_dependencies//util/platform:is_mac": "mac",
158-
"@vaticle_dependencies//util/platform:is_linux": "linux",
159-
"//conditions:default": "INVALID",
160-
}),
158+
output_filename = "typedb-studio-linux",
161159
visibility = ["//:__pkg__"],
162160
)
163161

0 commit comments

Comments
 (0)