| 1 |
#!/bin/bash |
| 2 |
# Copyright 2025 Google LLC |
| 3 |
# |
| 4 |
# Build a tag for the Docker image based on the current git revision. |
| 5 |
# Stage Manager cares about the format of this when determining which |
| 6 |
# version to deploy or not. |
| 7 |
|
| 8 |
set -e |
| 9 |
|
| 10 |
HASH=`git rev-parse HEAD` |
| 11 |
|
| 12 |
echo "git-${HASH}" |