fix release script semver bump

This commit is contained in:
Nick Sweeting 2020-08-18 15:02:36 -04:00
parent 4673f83749
commit 80863ad050
2 changed files with 19 additions and 18 deletions

View file

@ -45,7 +45,8 @@ echo "[*] Bumping VERSION from $OLD_VERSION to $NEW_VERSION"
contents="$(jq ".version = \"$NEW_VERSION\"" "$REPO_DIR/package.json")" && \ contents="$(jq ".version = \"$NEW_VERSION\"" "$REPO_DIR/package.json")" && \
echo "${contents}" > package.json echo "${contents}" > package.json
git add "$REPO_DIR/docs" git add "$REPO_DIR/docs"
git add "$VERSION_FILE" git add "$REPO_DIR/package.json"
git add "$REPO_DIR/package-lock.json"
echo "[*] Cleaning up build dirs" echo "[*] Cleaning up build dirs"
cd "$REPO_DIR" cd "$REPO_DIR"

View file

@ -1,19 +1,19 @@
{ {
"name": "archivebox", "name": "archivebox",
"version": "0.4.17", "version": "0.4.17",
"description": "ArchiveBox: The self-hosted internet archive", "description": "ArchiveBox: The self-hosted internet archive",
"author": "Nick Sweeting <archivebox-npm@sweeting.me>", "author": "Nick Sweeting <archivebox-npm@sweeting.me>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"archivebox": "./bin/archive" "archivebox": "./bin/archive"
}, },
"bin": { "bin": {
"archivebox-node": "./bin/archive", "archivebox-node": "./bin/archive",
"single-file": "./node_modules/.bin/single-file", "single-file": "./node_modules/.bin/single-file",
"readability-extractor": "./node_modules/.bin/single-file" "readability-extractor": "./node_modules/.bin/single-file"
}, },
"dependencies": { "dependencies": {
"readability-extractor": "git+https://github.com/pirate/readability-extractor.git", "readability-extractor": "git+https://github.com/pirate/readability-extractor.git",
"single-file": "git+https://github.com/gildas-lormeau/SingleFile.git" "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git"
} }
} }