aboutsummaryrefslogtreecommitdiff
path: root/vendor/cloud.google.com/go/internal/version/update_version.sh
blob: fecf1f03fdeb8f59617660236461f7f511f9f38a (plain)
1
2
3
4
5
6
#!/bin/bash

today=$(date +%Y%m%d)

sed -i -r -e 's/const Repo = "([0-9]{8})"/const Repo = "'$today'"/' $GOFILE