From ef02afadb837b980b3613cc594feeb2bf4b52c6c Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify-com@users.noreply.github.com> Date: Sun, 29 Sep 2024 14:17:41 +0000 Subject: [PATCH] release: version 3.1.0 --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93321fc..a447dee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,11 +20,8 @@ jobs: runs-on: ubuntu-latest if: ${{ github.ref_type=='tag' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: - # by default, it uses a depth of 1 - # this fetches all history so that we can read each commit - fetch-depth: 0 ref: ${{ github.head_ref }} - run: | curl -L -o hiddify-core.tar.gz https://codeload.github.com/hiddify/hiddify-core/tar.gz/${{ github.ref_name }} @@ -34,7 +31,7 @@ jobs: VERSION_STR="${VERSION_ARRAY[0]}.${VERSION_ARRAY[1]}.${VERSION_ARRAY[2]}" sed -i "s|PKG_VERSION:=.*|PKG_VERSION:=${VERSION_STR}|g" wrt/Makefile sed -i "s|PKG_HASH:=.*|PKG_HASH:=${HIDDIFY_CORE_WRT_HASH}|g" wrt/Makefile - - uses: stefanzweifel/git-auto-commit-action@v4 + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "Update WRT package HASH." push_options: --force