erlang-ls: remove explicit url passed to list-git-tags
This commit is contained in:
parent
59cfe6e376
commit
388b7857f4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ rebar3Relx {
|
||||||
#! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }"
|
#! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }"
|
||||||
|
|
||||||
set -ox errexit
|
set -ox errexit
|
||||||
latest=$(list-git-tags --url=https://github.com/${owner}/${repo}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
|
latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
|
||||||
if [[ "$latest" != "${version}" ]]; then
|
if [[ "$latest" != "${version}" ]]; then
|
||||||
nixpkgs="$(git rev-parse --show-toplevel)"
|
nixpkgs="$(git rev-parse --show-toplevel)"
|
||||||
nix_path="$nixpkgs/pkgs/development/beam-modules/erlang-ls"
|
nix_path="$nixpkgs/pkgs/development/beam-modules/erlang-ls"
|
||||||
|
|
Loading…
Reference in a new issue