2020-05-05 20:40:03 +03:00
|
|
|
#!/usr/bin/env bash
|
2022-01-03 19:36:51 +03:00
|
|
|
# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
2020-05-05 20:40:03 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-07-02 19:37:13 +03:00
|
|
|
set -euo pipefail
|
2020-05-05 20:40:03 +03:00
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
eval "$(../dev-env/bin/dade-assist)"
|
|
|
|
|
2020-07-02 19:37:13 +03:00
|
|
|
# Note: not using Bazel run so we actually have access to local files to run
|
|
|
|
# `git tag`
|
|
|
|
bazel run --run_under "cd $PWD &&" //versions:update-versions -- -o $PWD/versions.bzl
|
2020-05-05 20:40:03 +03:00
|
|
|
|
2020-07-01 03:49:53 +03:00
|
|
|
# We refer to latest_stable_version so this might need changing.
|
|
|
|
bazel run @unpinned_maven//:pin
|