Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 1.71 KB

creating_a_release.md

File metadata and controls

33 lines (21 loc) · 1.71 KB

Creating a Release

This section describes three types of releases:

  • Cutting a release of the Style Guide for public consumers
  • Deploying changes to github pages only
  • Deploying changes for only consumption by our D8 site

To cut a release of the Style Guide for public consumers

WARNING: This should only be run on the develop branch!*

  • Make sure you are running the most up-to-date code
    • Updates will be rejected if they are non-fast-forward
  • Update package.json with the new version number.
  • npm install to update the package-lock.json file
  • gulp release to build the files correctly, cut a tag, and deploy the files to gh-pages, dev-assets, and master.
  • Navigate to the latest release to see the new release and add notes.

Initial config via TutsPlus.

*Note: To base a release on a specific commit, for example when the develop branch has had other PRs committed that should not be included in the release, do the following:

  1. Check out the commit from which you'd like to deploy.
  2. Run gulp release to deploy the release from that commit.

To deploy changes to github pages only

To deploy changes only for consumption by our D8 site

  • gulp drupal-deploy to deploy changes to the dev-assets branch for consumption by Drupal or another CMS.