mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00:00
7 lines
113 B
Bash
7 lines
113 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
today=$(date +%Y%m%d)
|
||
|
|
||
|
sed -i -r -e 's/const Repo = "([0-9]{8})"/const Repo = "'$today'"/' $GOFILE
|
||
|
|