From a6cb2ebd91f99b93467fd119337ccd0064578336 Mon Sep 17 00:00:00 2001 From: Emo-Damage <75520940+Emo-Damage@users.noreply.github.com> Date: Sat, 3 Jun 2023 20:18:25 +0800 Subject: [PATCH] add sha into version --- .github/workflows/version-comment.yml | 2 +- src/worker-vless.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-comment.yml b/.github/workflows/version-comment.yml index 3a02113..efe718d 100644 --- a/.github/workflows/version-comment.yml +++ b/.github/workflows/version-comment.yml @@ -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" diff --git a/src/worker-vless.js b/src/worker-vless.js index b4025e5..2fd25db 100644 --- a/src/worker-vless.js +++ b/src/worker-vless.js @@ -1,4 +1,4 @@ -// version base on commit 6b0ce843702fb7d304752d47786e8f214fbfd9e0, time is 2023-06-03 12:16:50. +// base on commit 6b0ce843702fb7d304752d47786e8f214fbfd9e0, time is 2023-06-03 12:16:50. import { connect } from 'cloudflare:sockets'; // How to generate your own UUID: