diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 7cef492..cefe233 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -21,7 +21,9 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git commit -a -m ":sparkles: 更新 VERSION" + git tag "${steps.get_version.outputs.VERSION}" git push + git push origin --tags - name: Get version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/*/} diff --git a/VERSION b/VERSION index ddc0018..599587b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.10.8-03e7810 +v1.10.8-169a4ef