Skip to content

Commit b0ccda7

Browse files
morambrocopybara-github
authored andcommitted
Delete version.bzl
The version is now specified in the package comment. PiperOrigin-RevId: 683554197 Change-Id: I1c472e832ebf473d0138e0e28120a607dc831f31
1 parent e9da237 commit b0ccda7

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

integration/awskms/aws_kms_aead.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// Package awskms provides integration with the AWS Key Management Service.
15+
// Package awskms provides integration with the [AWS KMS].
16+
//
17+
// Version: 2.1.0
18+
//
19+
// [AWS KMS]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-overview.html
1620
package awskms
1721

1822
import (

kokoro/gcp_ubuntu/gomod/run_tests.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ if [[ -n "${CONTAINER_IMAGE:-}" ]]; then
4242
fi
4343

4444
readonly MODULE_URL="github.com/tink-crypto/tink-go-awskms"
45-
readonly MODULE_VERSION="$(cat version.bzl | grep ^TINK | cut -f 2 -d \")"
45+
readonly MODULE_VERSION="$(cat integration/awskms/aws_kms_aead.go \
46+
| grep '// Version:' \
47+
| grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')"
4648

4749
./kokoro/testutils/run_command.sh "${RUN_COMMAND_ARGS[@]}" \
4850
./kokoro/testutils/check_go_generated_files_up_to_date.sh .

kokoro/macos_external/gomod/run_tests.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ source ./kokoro/testutils/install_go.sh
2626
echo "Using go binary from $(which go): $(go version)"
2727

2828
readonly MODULE_URL="github.com/tink-crypto/tink-go-awskms"
29-
readonly MODULE_VERSION="$(cat version.bzl | grep ^TINK | cut -f 2 -d \")"
29+
readonly MODULE_VERSION="$(cat integration/awskms/aws_kms_aead.go \
30+
| grep '// Version:' \
31+
| grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')"
3032

3133
./kokoro/testutils/copy_credentials.sh "testdata" "aws"
3234
./kokoro/testutils/run_go_mod_tests.sh "${MODULE_URL}" "$(pwd)" \

version.bzl

-2
This file was deleted.

0 commit comments

Comments
 (0)