diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a03df35..3f7ad534 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,8 +6,7 @@ on: workflow_dispatch: jobs: - release: - name: release + release-please: runs-on: ubuntu-latest steps: - uses: googleapis/release-please-action@v4 @@ -15,6 +14,14 @@ jobs: with: release-type: simple package-name: catppuccin + outputs: + release_created: ${{ steps.release.outputs.release_created }} + tag_name: ${{ steps.release.outputs.tag_name }} + + release: + runs-on: ubuntu-latest + if: ${{ needs.release-please.outputs.release_created }} + steps: - uses: actions/checkout@v6 - name: tag stable versions if: ${{ steps.release.outputs.release_created }} @@ -26,3 +33,10 @@ jobs: git push origin :stable || true git tag -a stable -m "Last Stable Release" git push origin stable + - name: Upload to LuaRocks + uses: nvim-neorocks/luarocks-tag-release@v7 + env: + LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} + with: + name: catppuccin.nvim + version: ${{ needs.release-please.outputs.tag_name }} diff --git a/README.md b/README.md index 7412bdf1..1d198e12 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,12 @@ with Neovim 0.12's `vim.pack` vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" }) ``` +[rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim) + +```vim +:Rocks install catppuccin.nvim +``` + ### Vim support Support for Vim is provided through the `vim` branch. diff --git a/doc/catppuccin.txt b/doc/catppuccin.txt index a61cea3e..b7b6d991 100644 --- a/doc/catppuccin.txt +++ b/doc/catppuccin.txt @@ -49,6 +49,11 @@ with Neovim 0.12’s `vim.pack` vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" }) < +rocks.nvim + +>vim + :Rocks install catppuccin.nvim +< VIM SUPPORT ~