README.md
1Perfetto SDK (source code): a complete snapshot of Perfetto SDK.
2
3# Updating
4
5Pick a release tag from https://github.com/google/perfetto/releases. In the example below we will
6use v22.1. Then follow the snippet below.
7```
8tag="v22.1" &&
9tmp="perfetto-$(date +%s)" &&
10git clone https://github.com/google/perfetto.git $tmp && cd $tmp &&
11git checkout "$tag" && version=$(git log --pretty=oneline | head -1) &&
12cp sdk/* ../ && cd .. && rm -rf $tmp &&
13echo "Version: $version" &&
14echo "$version" >> README.md
15```
16
17# Last import
18
19aeaeee0ef52d2433e1e20b3d3cc91bfc89d34a91 Amalgamated source for v22.1
20