Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
Bug fix for publish rsync not syncing correct site folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Barber committed Jul 26, 2015
1 parent cbcaef5 commit 68f2309
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

#Change Log

## Version 1.2.1

* Fixed a bug in --publish for rsync not using correct site path

## Version 1.2.0

* Added --list command. Lets you get a raw view of posts and drafts. Includes optional filter.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,5 @@ See the history in [CHANGELOG.md](CHANGELOG.md)

## License

JBH is license under the [Apache 2.0 License][LICENSE]
JBH is license under the [Apache 2.0 License](LICENSE)

4 changes: 2 additions & 2 deletions jbh.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/bin/bash
#----------------------------------------
# JBH - Jekyll Blog Helper
_version="1.2.0"
_version="1.2.1"
# http://github.com/alanbarber/jbh
#----------------------------------------
# Settings
Expand Down Expand Up @@ -229,7 +229,7 @@ function fnPublish {
if [[ "$_publishUseRsync" == "" || "$_publishUseRsync" == "0" || "$_publishUseRsync" == "false" ]]; then
scp -r .$_sitePath* $_publishUser@$_publishServer:$_publishPath
else
rsync --compress --recursive --checksum --itemize-changes --delete .$_sitePate* $_publishUser@$_publishServer:$_publishPath
rsync --compress --recursive --checksum --itemize-changes --delete .$_sitePath $_publishUser@$_publishServer:$_publishPath
fi
fi
}
Expand Down

0 comments on commit 68f2309

Please sign in to comment.