From 18cac21cf3c8dff408ea0e85b6aa7808bd176709 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 2 Jan 2023 16:19:59 -0500 Subject: Fixed upload. --- .github/workflows/build.yml | 2 +- README.md | 6 ++++++ src/lpm.lua | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30446ba..9eeda14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,5 +60,5 @@ jobs: cp lpm lpm.x86_64-darwin gh release upload continuous *.tar.gz if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then - gh release upload $VERSION lpm.x86_64-darwin + gh release upload v$VERSION lpm.x86_64-darwin fi diff --git a/README.md b/README.md index 9aa8efe..86d2d8f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,12 @@ For details about the `manifest.json` files that `lpm` consumes, ## Quickstart +The fastest way to get started with lpm is to simply pull a release. + +``` + wget https://github.com/adamharrison/lite-xl-plugin-manager/releases/download/v0.92/lpm.x86_64-linux -O lpm && chmod +x lpm +``` + If you have a C compiler, and `git`, and want to compile from scratch, you can do: diff --git a/src/lpm.lua b/src/lpm.lua index b6e2037..132791b 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1621,6 +1621,10 @@ It has the following commands: lpm describe [bottle] Describes the bottle specified in the form of a list of commands, that allow someone else to run your configuration. + lpm table [readme path] Formats a markdown table of all specified + plugins. Dumps to stdout normally, but if + supplied a readme, will remove all tables + from the readme, and append the new one. lpm purge Completely purge all state for LPM. lpm - Read these commands from stdin in -- cgit v1.2.3