From 30fd3b208f7dba9663566ecc45bb49d33f42c715 Mon Sep 17 00:00:00 2001 From: licheng <2501093733@qq.com> Date: Wed, 8 May 2024 20:30:31 +0800 Subject: [PATCH] =?UTF-8?q?0.0.41=20=E5=8F=91=E5=B8=83!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- version/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6798b61..5b3835e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Get the version id: get_version - run: echo ::set-output name=VERSION::$(echo $(cat version/version.go) | grep -oP 'Version = "\K(.*)(?=")') + run: echo ::set-output name=VERSION::$(echo $(grep -oP 'Version = "\K(.*)(?=")' version/version.go)) - name: Create Release id: create_release diff --git a/version/version.go b/version/version.go index 21dda05..06593dc 100644 --- a/version/version.go +++ b/version/version.go @@ -7,7 +7,7 @@ import ( "runtime" ) -const Version = "0.0.40" +const Version = "v0.0.41" func StartLogo() { // 获取go版本号