Include READMEs

This commit is contained in:
Wilson Lin 2020-01-20 01:13:21 +11:00
parent ee84926695
commit 36c5a2d218
3 changed files with 3 additions and 1 deletions

View File

@ -75,4 +75,5 @@ jobs:
rm -rf dist rm -rf dist
node node_modules/typescript/bin/tsc node node_modules/typescript/bin/tsc
aws s3 mv s3://${{ secrets.AWS_S3_BUCKET }}/hyperbuild/bin/nodejs/${{ steps.version.outputs.VERSION }}/ ./dist/. --recursive aws s3 mv s3://${{ secrets.AWS_S3_BUCKET }}/hyperbuild/bin/nodejs/${{ steps.version.outputs.VERSION }}/ ./dist/. --recursive
cp ../README.md .
npm publish npm publish

View File

@ -77,6 +77,7 @@ jobs:
- name: Package and publish gem - name: Package and publish gem
working-directory: ./ruby working-directory: ./ruby
run: | run: |
cp ../README.md .
gem build hyperbuild.gemspec gem build hyperbuild.gemspec
mkdir -p "$HOME/.gem" mkdir -p "$HOME/.gem"
echo '---' > "$HOME/.gem/credentials" echo '---' > "$HOME/.gem/credentials"

View File

@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
spec.authors = ["Wilson Lin"] spec.authors = ["Wilson Lin"]
spec.email = ["code@wilsonl.in"] spec.email = ["code@wilsonl.in"]
spec.license = "MIT" 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.summary = "Fast one-pass in-place HTML minifier written in Rust with context-aware whitespace handling"
spec.homepage = "https://github.com/wilsonzlin/hyperbuild" spec.homepage = "https://github.com/wilsonzlin/hyperbuild"