daml/bazel_tools
Moritz Kiefer dba114a283
Merge Maven uploads for different Scala versions (#8943)
* Merge Maven uploads for different Scala versions

It turns out Maven will abort an existing staging operation if you
create a new one. This means our jobs race against each other. We
could try to fix that by either sequencing the jobs in a clever
way (annoying and can break things like rerunning if only parts
failed), or by creating more profiles (unclear if you can even have
two profiles for the same group id, even if you do, it’s annoying to
merge).

So in this PR I (grudgingly) merged both uploads into the Haskell
script. This isn’t all bad:

1. It moves some logic from bash embedded in yaml string literals into
Haskell code.
2. It duplicates some versions but it removes duplication in other
places so overall not too much worse.
3. It does however, make things slower. We don’t run this stuff in
parallel. That said, the release step is relatively small (< 5min) and
it only runs on Linux.

We could add CLI arguments to make the Scala versions configurable for
local development. Given that this is blocking releases, I wanted to
get something in that works first and then see what we need in that regard.

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end
2021-02-24 20:33:53 +00:00
..
client_server Draw the rest of the Scala 2.13 owl (#8852) 2021-02-15 19:20:24 +00:00
dev_env_tool update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
java_testing update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
packaging fix: set LOCAL_ARCHIVE when unset (#8627) 2021-01-26 15:52:24 +01:00
runfiles Upgrade scalafmt and enable trailing commas (#8437) 2021-01-09 11:37:37 +01:00
sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
absl-mingw.patch Upgrade gRPC C library (#8693) 2021-02-01 16:11:06 +01:00
build_environment.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
BUILD.bazel update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
create_workspace.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
fat_cc_library.bzl Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
ghc_dwarf.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
grpc-bazel-apple.patch Pin rules_apple (#6845) 2020-07-24 09:47:05 +02:00
grpc-bazel-mingw.patch Upgrade gRPC C library (#8693) 2021-02-01 16:11:06 +01:00
grpc-haskell-core-cpp-options.patch Replace Hazel by stack_snapshot (#2743) 2019-11-22 14:24:08 +00:00
grpc-haskell-core-upgrade.patch Upgrade gRPC C library (#8693) 2021-02-01 16:11:06 +01:00
haskell_proto3_suite_deriving_defaults.patch Disable deriving-defaults per file (#8684) 2021-01-29 11:01:55 +00:00
haskell-c2hs.patch Building c2hs (#355) 2019-04-10 15:12:08 +02:00
haskell-cc-wrapper-windows.patch Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
haskell-ghc-lib.patch Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
haskell-ghcide-binary-q.patch Enable assertions in Haskell builds (#6853) 2020-07-24 14:29:25 +00:00
haskell-ghcide-expose-compat.patch Bump ghcide (#5103) 2020-03-20 16:43:59 +00:00
haskell-hie-bios.patch Bump ghc-ghcide (#2936) 2019-09-18 10:29:02 +02:00
haskell-js-dgtable.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-js-flot.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-js-jquery.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-lsp-test-no-reexport.patch Upgrade ghcide and haskell-lsp (#3499) 2019-11-18 10:56:19 +00:00
haskell-opt.patch upgrade rules_haskell (#6284) 2020-06-10 17:21:31 +02:00
haskell-shake.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-strict-source-names.patch Upgrade rules_haskell (#8370) 2021-01-04 16:57:35 +01:00
haskell-windows-extra-libraries.patch Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
haskell-windows-remove-fake-libs.patch Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
haskell-zip.patch Patch zip library to not use temp files (#5621) 2020-04-20 08:35:11 +00:00
haskell.bzl Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
hlint.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
java.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
javadoc_library.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
nixpkgs-disable-http2.patch upgrade rules_nixpkgs (#8078) 2020-11-30 14:36:46 +00:00
os_info.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
pkg.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
pom_file.bzl More Scala 2.13 cleanup (#8855) 2021-02-16 09:39:16 +00:00
pom_template.xml rename master to main (#8245) 2020-12-27 14:19:07 +01:00
proto.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
protobuf-win32.patch Upgrade grpc and protobuf libraries (#8558) 2021-01-26 14:17:18 +00:00
remote_apis_no_services.patch Clean broken entries from the Bazel cache (#8668) 2021-01-28 17:57:09 +00:00
rules_nodejs_bash.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
rules_nodejs_node_dependency.patch Enforce a dependency on node_nix (#6035) 2020-05-19 16:58:00 +00:00
rules_nodejs_npm_cli_path.patch Bazelify daml json types (#4110) 2020-01-20 15:02:33 +00:00
rules-nixpkgs-llvm-cov.patch Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
scala_version.bzl Merge Maven uploads for different Scala versions (#8943) 2021-02-24 20:33:53 +00:00
scala-escape-jvmflags.patch Upgrade rules_scala (#6883) 2020-07-28 08:53:12 +00:00
scala.bzl Support scala_deps in da_scala_benchmark_jmh (#8928) 2021-02-24 10:46:24 +01:00