2022-07-27 23:33:53 +03:00
|
|
|
#!/usr/bin/env bash
|
2023-03-02 23:42:35 +02:00
|
|
|
|
|
|
|
# Copyright 2023 Uber Technologies, Inc.
|
2023-04-20 03:23:25 +03:00
|
|
|
# Licensed under the MIT License
|
2023-03-02 23:42:35 +02:00
|
|
|
|
2022-04-18 12:35:14 +03:00
|
|
|
set -xeuo pipefail
|
|
|
|
|
|
|
|
cd "$(git rev-parse --show-toplevel)"
|
2022-04-20 14:45:48 +03:00
|
|
|
prev_ref=$(git rev-parse HEAD)
|
|
|
|
git commit --allow-empty -m "this is a test commit"
|
2023-03-14 10:15:43 +02:00
|
|
|
tools/bazel run //tools/releaser -- -tag v99.0.0
|
|
|
|
cleanup() { git tag -d v99.0.0; git reset --hard "$prev_ref"; }
|
2022-04-18 12:35:14 +03:00
|
|
|
trap cleanup EXIT
|
2022-04-18 12:35:14 +03:00
|
|
|
|
2023-04-21 17:00:03 +03:00
|
|
|
file hermetic_cc_toolchain-v99.0.0.tar.gz | grep -q 'gzip compressed data'
|