From 36c5a2d21838e6e4d62c2fdb3435ae5835b8eb43 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Mon, 20 Jan 2020 01:13:21 +1100 Subject: [PATCH] Include READMEs --- .github/workflows/nodejs.yml | 1 + .github/workflows/ruby.yml | 1 + ruby/hyperbuild.gemspec | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 285e23e..5dbfd2e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -75,4 +75,5 @@ jobs: rm -rf dist node node_modules/typescript/bin/tsc aws s3 mv s3://${{ secrets.AWS_S3_BUCKET }}/hyperbuild/bin/nodejs/${{ steps.version.outputs.VERSION }}/ ./dist/. --recursive + cp ../README.md . npm publish diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 0bffa0e..f85bc79 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -77,6 +77,7 @@ jobs: - name: Package and publish gem working-directory: ./ruby run: | + cp ../README.md . gem build hyperbuild.gemspec mkdir -p "$HOME/.gem" echo '---' > "$HOME/.gem/credentials" diff --git a/ruby/hyperbuild.gemspec b/ruby/hyperbuild.gemspec index aba812d..72db626 100644 --- a/ruby/hyperbuild.gemspec +++ b/ruby/hyperbuild.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.authors = ["Wilson Lin"] spec.email = ["code@wilsonl.in"] spec.license = "MIT" - spec.files = FileList["lib/*"].to_a + spec.files = FileList["lib/*", "README.md"].to_a spec.summary = "Fast one-pass in-place HTML minifier written in Rust with context-aware whitespace handling" spec.homepage = "https://github.com/wilsonzlin/hyperbuild"