We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671febe commit 6ffeddfCopy full SHA for 6ffeddf
scripts/build.sh
@@ -5,7 +5,7 @@ set -euo pipefail
5
# The format will be: v<major>.<minor>.<patch>_g<commit_hash> — e.g. v1.7.2_g8bb88311
6
# Extract full version from src/firecracker/swagger/firecracker.yaml
7
FC_VERSION=$(awk '/^info:/{flag=1} flag && /^ version:/{print $2; exit}' src/firecracker/swagger/firecracker.yaml)
8
-commit_hash=$(git rev-parse --short=8 HEAD)
+commit_hash=$(git rev-parse --short=7 HEAD)
9
version_name="v${FC_VERSION}_g${commit_hash}"
10
echo "Version name: $version_name"
11
0 commit comments