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