diff --git a/.github/workflows/create-github-release.yml b/.github/workflows/create-github-release.yml index df6d2725..9469163f 100644 --- a/.github/workflows/create-github-release.yml +++ b/.github/workflows/create-github-release.yml @@ -3,7 +3,6 @@ on: push: tags: - 'v*.*.*' - env: RELEASE_VERSION: ${{ github.ref_name }} LINUX_BIN_PATH: uffizzi-${{ github.ref_name }}-linux-x86_64 diff --git a/Dockerfile b/Dockerfile index c5b98176..60a0eb16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,6 @@ RUN apk --update add --no-cache \ ruby-json \ openssl \ groff \ - mandoc \ - man-pages \ bash \ vim @@ -35,7 +33,6 @@ RUN bundle exec rake install FROM ruby:3.0.3 AS shell RUN apt-get update && apt-get install -y \ - man-db \ vim \ bash \ && rm -rf /var/lib/apt/lists/* diff --git a/Gemfile.lock b/Gemfile.lock index d4de7b08..adf88034 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - uffizzi-cli (2.0.10) + uffizzi-cli (2.0.11) activesupport awesome_print faker diff --git a/lib/uffizzi/cli/common.rb b/lib/uffizzi/cli/common.rb index 66f557ca..d8b2bced 100644 --- a/lib/uffizzi/cli/common.rb +++ b/lib/uffizzi/cli/common.rb @@ -6,9 +6,9 @@ module Uffizzi class Cli::Common class << self def show_manual(command_name) - manual_doc_path = File.join(Uffizzi.root, "man/#{command_name}") + manual_doc_path = File.join(Uffizzi.root, "man/#{command_name}.ronn") - Open3.pipeline("man #{manual_doc_path}") + Uffizzi.ui.say(File.read(manual_doc_path)) end end end diff --git a/lib/uffizzi/version.rb b/lib/uffizzi/version.rb index dc0d1a70..b18197b9 100644 --- a/lib/uffizzi/version.rb +++ b/lib/uffizzi/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Uffizzi - VERSION = '2.0.10' + VERSION = '2.0.11' end