Skip to content

Commit

Permalink
Merge pull request #105 from alphagov/fix/missing-png-asset
Browse files Browse the repository at this point in the history
Bundle remaining assets type from GOV.UK Frontend
  • Loading branch information
freesteph committed Sep 5, 2019
2 parents db76602 + 3429279 commit 2add21e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.2

This fixes ensures all assets from govuk-frontend are bundled; we were missing some PNG, SVG and ICO files.

## 2.0.1

This fixes an issue where Travis CI wasn’t packaging up the gem with the govuk-frontend module.
Expand Down
2 changes: 1 addition & 1 deletion govuk_tech_docs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
files_in_git = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

# Include assets from GOV.UK Frontend library in the distributed gem
govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,woff,woff2}"]
govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,woff,woff2,png,svg,ico}"]

spec.files = files_in_git + govuk_frontend_assets

Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_tech_docs/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GovukTechDocs
VERSION = "2.0.1".freeze
VERSION = "2.0.2".freeze
end

0 comments on commit 2add21e

Please sign in to comment.