1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 08:44:52 +00:00
restic/vendor/cloud.google.com/go/internal/version/update_version.sh
2017-08-06 21:47:56 +02:00

6 lines
113 B
Bash
Executable file

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