-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: "luarocks upload" | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
release: | ||
types: | ||
- created # Triggered by release-please | ||
pull_request: # Tests a local luarocks install without publishing on PRs | ||
workflow_dispatch: # Allow manual trigger | ||
jobs: | ||
luarocks-upload: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Required to count the commits | ||
- name: Get Version | ||
# Tags created by GitHub releases don't trigger push: tags workflows | ||
# So we have to determine the tag manually. | ||
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV | ||
- name: LuaRocks Upload | ||
uses: nvim-neorocks/luarocks-tag-release@v5 | ||
env: | ||
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | ||
with: | ||
version: ${{ env.LUAROCKS_VERSION }} | ||
detailed_description: | | ||
Vim's diff mode is pretty good, but there is no convenient way to quickly bring up all modified files in a diffsplit. | ||
This plugin aims to provide a simple, unified, single tabpage interface that lets you easily review all changed files for any git rev. | ||
license: "GPL-3.0" | ||
dependencies: | | ||
nvim-web-devicons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Release Please | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
name: release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }} | ||
with: | ||
release-type: simple | ||
package-name: diffview.nvim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
local _MODREV, _SPECREV = 'scm', '-1' | ||
rockspec_format = "3.0" | ||
package = 'diffview.nvim' | ||
version = _MODREV .. _SPECREV | ||
|
||
description = { | ||
summary = 'Single tabpage interface for easily cycling through diffs for all modified files for any git rev.', | ||
labels = { 'neovim', 'neovim-plugin', 'git', 'diff', 'neovim-lua', 'neovim-lua-plugin', }, | ||
detailed = [[ | ||
Vim's diff mode is pretty good, but there is no convenient way to quickly bring up all modified files in a diffsplit. | ||
This plugin aims to provide a simple, unified, single tabpage interface that lets you easily review all changed files for any git rev. | ||
]], | ||
homepage = 'https://github.com/sindrets/diffview.nvim', | ||
license = 'GPL-3.0', | ||
} | ||
|
||
dependencies = { | ||
'lua >= 5.1, < 5.4', | ||
'nvim-web-devicons', | ||
} | ||
|
||
source = { | ||
url = 'git://github.com/sindrets/diffview.nvim', | ||
} | ||
|
||
build = { | ||
type = 'builtin', | ||
copy_directories = { | ||
'doc', | ||
'plugin', | ||
}, | ||
} |