diff --git a/diy-part1.sh b/diy-part1.sh new file mode 100644 index 0000000..63b626c --- /dev/null +++ b/diy-part1.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#=============================================== +# Description: DIY script +# File name: diy-script.sh +# Lisence: MIT +# Author: P3TERX +# Blog: https://p3terx.com +#=============================================== + +# 修改版本为编译日期 +date_version=$(date +"%Y%m%d%H") +# sed -i "s/0000000000/${date_version}/g" version + +echo $date_version > version