dart-sdk/runtime/tools/dartfuzz/list_dartfuzz_versions.sh
Felicitas Hetzelt c8e389ff62 [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 <ajcbik@google.com>
Commit-Queue: Felicitas Hetzelt <felih@google.com>
2019-09-11 22:54:29 +00:00

13 lines
434 B
Bash
Executable file

#!/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