Skip to content

Commit aae74ee

Browse files
committed
chore(release): scope npm package and prepare v0.1.1
1 parent e417472 commit aae74ee

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ jobs:
123123
cd npm-pkg
124124
# Set version from git tag
125125
VERSION=${GITHUB_REF#refs/tags/v}
126-
node -e "const p=require('./package.json'); p.version='$VERSION'; require('fs').writeFileSync('package.json', JSON.stringify(p,null,2))"
126+
node -e "const p=require('./package.json'); p.name='@assafdori/torah-cli'; p.version='$VERSION'; require('fs').writeFileSync('package.json', JSON.stringify(p,null,2))"
127127
128128
- name: Publish
129-
run: cd npm-pkg && npm publish || echo "Version already published, skipping"
129+
run: cd npm-pkg && npm publish --access=public
130130
env:
131131
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "torah-cli"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
description = "A Torah TUI for terminal reading"
66
license = "MIT"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Built with Rust. Single binary. Works fully offline with bundled data.
99
## Install
1010

1111
```sh
12-
npm install -g torah-cli
12+
npm install -g @assafdori/torah-cli
1313
```
1414

1515
Or with curl:

npm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "torah-cli",
3-
"version": "0.1.0",
2+
"name": "@assafdori/torah-cli",
3+
"version": "0.1.1",
44
"description": "A Torah TUI for terminal reading",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)