#!/bin/sh | |
set -eu | |
datestring=$(date -Idate) | |
version=$($PWD/../Scripts/git-webkit find HEAD --json | jq --raw-output .identifier) | |
cat >$1 <<EOF | |
# no-commit | |
# This file is generated by utils/generate-version as part of the | |
# Makefile / CI system. Please do not commit it. | |
variables: | |
runtime-version: '${version}' | |
runtime-version-date: '${datestring}' | |
EOF |