From c8e389ff627f7aa0ee361f81b84d8b247c6844f0 Mon Sep 17 00:00:00 2001 From: Felicitas Hetzelt Date: Wed, 11 Sep 2019 22:54:29 +0000 Subject: [PATCH] [vm/fuzzer] List versions for each git commit Rationale: Go through all git commits and list dartfuzz versions. Change-Id: I2d6ac23fcff51631a40a97bb53289fd60e65000c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116747 Reviewed-by: Aart Bik Commit-Queue: Felicitas Hetzelt --- runtime/tools/dartfuzz/list_dartfuzz_versions.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 runtime/tools/dartfuzz/list_dartfuzz_versions.sh diff --git a/runtime/tools/dartfuzz/list_dartfuzz_versions.sh b/runtime/tools/dartfuzz/list_dartfuzz_versions.sh new file mode 100755 index 0000000000000..5181ca93fd4dc --- /dev/null +++ b/runtime/tools/dartfuzz/list_dartfuzz_versions.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# +# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +# for details. All rights reserved. Use of this source code is governed by a +# BSD-style license that can be found in the LICENSE file. + +for i in $(git log --oneline | grep -- '\[vm/fuzzer\]' | awk '{print $1}') +do + echo $i + git show $i:runtime/tools/dartfuzz/dartfuzz.dart | grep 'const String version = ' | awk '{print $NF}' +done +