Upgrade

This documents how to upgrade Hydejack to a newer version. The method depends on how you’ve installed Hydejack.

Table of Contents

  1. Via gem
  2. Via zip
  3. Via git
  4. PRO Version
    1. PRO via GitHub (advanced)

NOTE: Before upgrading to v7+, make sure you’ve read the CHANGELOG, especially the part about the license change!

Via gem

Upgrading the 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.

NOTE: If you’ve modified any of Hydejack’s internal files, your changes will most likely be overwritten and you have to apply them again. Make sure you’ve made a backup before overwriting any files.

Via git

The latest version sits on the master branch of qwtel/hydejack. To apply them to your repository run

$ git remote add hydejack git@github.com:qwtel/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.

NOTE: If you’ve modified any of Hydejack’s internal files, your changes will most likely be overwritten and you have to apply them again. Make sure you’ve made a backup before overwriting any files.

The archive also contains .patch files, that you can apply to your repository via git-apply. Using this method, git will generate merge conflicts when changes in the patch conflict with any of your changes.

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


© 2017. All rights reserved.

Powered by Hydejack v7.5.0