diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87d4323..884b6de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,3 +18,10 @@ jobs: - uses: nvim-neorocks/luarocks-tag-release@v5 env: LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}} + if: "! startsWith(github.ref, 'refs/tags/')" + with: + version: scm + - uses: nvim-neorocks/luarocks-tag-release@v5 + env: + LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}} + if: startsWith(github.ref, 'refs/tags/') diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..31f6c8c --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +Wu Zhenyu Wu, Zhenyu diff --git a/README.md b/README.md index 511f65d..ff2c5c0 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ [![github/repo-size](https://shields.io/github/repo-size/Freed-Wu/cppinsights.vim)](https://github.com/Freed-Wu/cppinsights.vim) [![github/v](https://shields.io/github/v/release/Freed-Wu/cppinsights.vim)](https://github.com/Freed-Wu/cppinsights.vim) +[![luarocks](https://img.shields.io/luarocks/v/Freed-Wu/cppinsights.vim)](https://luarocks.org/modules/Freed-Wu/cppinsights.vim) + ![screenshot](https://user-images.githubusercontent.com/32936898/220273531-d183042e-50e5-4ddf-b782-866bae786e44.jpg) ## Install