From 023729e2cfa1576333e6383d1e0f03e076d15a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Tue, 2 Apr 2024 21:09:45 +0800 Subject: [PATCH] Add files via upload --- diy-part1.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 diy-part1.sh 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