hdx/vendor/cloud.google.com/go/internal/version/update_version.sh

7 lines
113 B
Bash
Raw Normal View History

#!/bin/bash
today=$(date +%Y%m%d)
sed -i -r -e 's/const Repo = "([0-9]{8})"/const Repo = "'$today'"/' $GOFILE