From b8b2a2e9229a0c20b40ed092bbf35b5dae5f37f7 Mon Sep 17 00:00:00 2001 From: stonex <1479765922@qq.com> Date: Mon, 22 Nov 2021 15:21:06 +0800 Subject: [PATCH] feat: 1 --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84c22e4e..ff982482 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - name: Run semantic-release - if: github.repository == 'casbin/casbin-cpp' && github.event_name == 'push' + if: github.repository == 'sheny1xuan/casbin-cpp' && github.event_name == 'push' run: | export PATH="$(yarn global bin):$PATH" yarn global add semantic-release @@ -25,6 +25,6 @@ jobs: - name: UpdateCmake if: github.repository == 'casbin/casbin-cpp' && github.event_name == 'push' run: | - # LatestTAG=`git describe --tags` - # cmake_version_updated=" VERSION ${LatestTAG:1}" - # sed -i "/[[:space:]]VERSION/c\\${cmake_version_updated}" CMakeLists.txt + LatestTAG=`git describe --tags` + cmake_version_updated=" VERSION ${LatestTAG:1}" + sed -i "/[[:space:]]VERSION/c\\${cmake_version_updated}" CMakeLists.txt