1
0
Fork 0

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")" && \
echo "${contents}" > package.json
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"
cd "$REPO_DIR"

View file

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