add sha into version

This commit is contained in:
Emo-Damage
2023-06-03 20:16:28 +08:00
parent a84ada3ce5
commit 8defaa5170
2 changed files with 2 additions and 2 deletions

View File

@@ -20,5 +20,5 @@ jobs:
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: src/worker-vless.js
body: "{{date:YYYY-MM-DD HH:mm:ss}}"
body: "base on commit ${{ github.sha }}, time is {{date:YYYY-MM-DD HH:mm:ss}}"
message: "Update version worker-vless.js"

View File

@@ -1,4 +1,4 @@
// version is <!--GAMFC-->2023-06-03 12:11:01<!--GAMFC-END-->.
// version <!--GAMFC-->2023-06-03 12:11:01<!--GAMFC-END-->.
import { connect } from 'cloudflare:sockets';
// How to generate your own UUID: