mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-27 13:14:24 -04:00
minor build fixes
This commit is contained in:
parent
aa84a7ff2b
commit
783f597955
5 changed files with 19 additions and 5 deletions
|
@ -12,14 +12,14 @@ IFS=$'\n'
|
|||
|
||||
REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
|
||||
VERSION="$(jq -r '.version' < "$REPO_DIR/package.json")"
|
||||
SHORT_VERSION="$(echo "$VERSION" | perl -pe 's/(\d+)\.(\d+)\.(\d+)/$1.$2/g')"
|
||||
cd "$REPO_DIR"
|
||||
|
||||
|
||||
echo "[^] Pushing docs to github"
|
||||
cd docs/
|
||||
git commit -am "$NEW_VERSION release"
|
||||
git add .
|
||||
git commit -am "$VERSION release"
|
||||
git push
|
||||
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"
|
||||
git tag -a "v$VERSION" -m "v$VERSION"
|
||||
git push origin master
|
||||
git push origin --tags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue