From 603ac2a31758d4a9ddf2bd7e3e92c82f77e5a548 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Thu, 6 Feb 2025 17:52:05 +0800 Subject: [PATCH] fix: git pre commit hook --- .github/workflows/hrp-release.yml | 2 +- internal/version/VERSION | 2 +- scripts/install-pre-commit-hook | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hrp-release.yml b/.github/workflows/hrp-release.yml index 4aa9b662..4014daf5 100644 --- a/.github/workflows/hrp-release.yml +++ b/.github/workflows/hrp-release.yml @@ -42,7 +42,7 @@ jobs: access-key-secret: ${{ secrets.ALIYUN_ACCESSKEY_SECRET }} - name: Upload artifacts to aliyun OSS run: | - ossutil cp -rf hrp/internal/version/VERSION oss://httprunner/ + ossutil cp -rf internal/version/VERSION oss://httprunner/ ossutil cp -rf scripts/install.sh oss://httprunner/ ossutil cp -rf ${{ env.ASSET_PATH }} oss://httprunner/ - name: Test install.sh diff --git a/internal/version/VERSION b/internal/version/VERSION index 7b04af17..b198e21e 100644 --- a/internal/version/VERSION +++ b/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2502052133 +v5.0.0+2502061752 diff --git a/scripts/install-pre-commit-hook b/scripts/install-pre-commit-hook index 350275bd..d4b499ff 100644 --- a/scripts/install-pre-commit-hook +++ b/scripts/install-pre-commit-hook @@ -41,7 +41,7 @@ do done # bump hrp version -version_file=hrp/internal/version/VERSION +version_file=internal/version/VERSION # get current date current_date=$(date +"%y%m%d%H%M")