Comparing version 0.1.0 to 0.1.1
@@ -5,3 +5,3 @@ { | ||
"name": "lockdb", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "LockDB is a cross-platform tool you can use to handle process/event locking and avoid race conditions. It is sometimes also known as a semaphore.", | ||
@@ -8,0 +8,0 @@ "license": "AGPL-3.0", |
@@ -59,3 +59,3 @@ # LockDB | ||
# Download the binary from the latest release for your system and move it to `/usr/local/bin/`. Here's an example for most Linux OSes: | ||
$ curl -L https://github.com/BrunoBernardino/lockdb/releases/latest/download/lockdb-linux-intel --output lockdb && chmod +x lockdb && sudo mv lockdb /usr/local/bin/ | ||
curl -L https://github.com/BrunoBernardino/lockdb/releases/latest/download/lockdb-linux-intel --output lockdb && chmod +x lockdb && sudo mv lockdb /usr/local/bin/ | ||
``` | ||
@@ -88,8 +88,8 @@ | ||
```bash | ||
$ make format | ||
$ make test | ||
make format | ||
make test | ||
# CLI | ||
$ deno run --allow-net mock_server.ts | ||
$ deno run --allow-net --allow-env=LOCKDB_SERVICE_ID,LOCKDB_API_KEY,LOCKDB_SERVER_URL main.ts check sales --server-url="http://127.0.0.1:5678" --service-id="reports" --api-key="api-key" | ||
deno run --allow-net mock_server.ts | ||
deno run --allow-net --allow-env=LOCKDB_SERVICE_ID,LOCKDB_API_KEY,LOCKDB_SERVER_URL main.ts check sales --server-url="http://127.0.0.1:5678" --service-id="reports" --api-key="api-key" | ||
``` | ||
@@ -99,2 +99,4 @@ | ||
After committing and pushing, just run `make publish VERSION=x.y.z`. That will also trigger a new tag, build binaries, and a new draft release with them. | ||
1. Commit (and push) changes. | ||
2. Update `VERSION` in `main.ts`. | ||
3. Run `make publish VERSION=x.y.z`. That will publish to `npm` and push a new tag, which will build binaries, and a new pre-release with them. |
48118
1
100