Upgrade
This chapter shows how to upgrade Hydejack to a newer version. The method depends on how you’ve installed Hydejack.
Table of Contents
Via Starter Kit
When using the Starter Kit, upgrading Hydejack is as simple as setting the remote_theme
key in config.yml
to the desired version.
remote_theme: hydecorp/hydejack@v8.5.2
To use the latest version on the v8
branch on each build, you can use hydecorp/hydejack@v8
.
Via gem
Upgrading the gem-based theme is as easy as running
bundle update jekyll-theme-hydejack
Via zip
Upgrading via zip is a bit of a dark art, specially if you’ve made changes to any source files, and the prime reason why I suggest using the gem-based version of the theme.
Generally, you’ll want to copy these files and folders:
_includes/
_layouts/
_sass/
assets/
Gemfile
Gemfile.lock
and merge them with your existing folder. However, you’ll also want to check out _data
and _config.yml
for any changes and read latest entries to the CHANGELOG.
Via git
The latest version sits on the master
branch of hydecorp/hydejack. To apply them to your repository run
$ git remote add hydejack git@github.com:hydecorp/hydejack.git
$ git pull hydejack master
PRO Version
Buyers of the PRO version will find the files necessary for an upgrade in the upgrade
folder of the downloaded zip archive.
PRO via GitHub (advanced)
If you’ve followed the steps here, all you need to upgrade is:
$ bundle update jekyll-theme-hydejack-pro
Continue with Config