2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-02 09:58:25 +00:00
restic/vendor/cloud.google.com/go/internal/version/update_version.sh

7 lines
113 B
Bash
Raw Normal View History

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