add sha into version

This commit is contained in:
Emo-Damage
2023-06-03 20:18:25 +08:00
parent f18a1c50ec
commit a6cb2ebd91
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: "base on commit ${{ github.sha }}, time is {{date:YYYY-MM-DD HH:mm:ss}}"
body: "version 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 <!--GAMFC-->base on commit 6b0ce843702fb7d304752d47786e8f214fbfd9e0, time is 2023-06-03 12:16:50<!--GAMFC-END-->.
// <!--GAMFC-->base on commit 6b0ce843702fb7d304752d47786e8f214fbfd9e0, time is 2023-06-03 12:16:50<!--GAMFC-END-->.
import { connect } from 'cloudflare:sockets';
// How to generate your own UUID: