Rakefile in workarea-api-4.5.4 vs Rakefile in workarea-api-4.5.5

- old
+ new

@@ -71,27 +71,27 @@ desc "Release version #{Workarea::Api::VERSION} of the gem" task :release do host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com" # - # Updating changelog + # Build documentation # # - Rake::Task['workarea:changelog'].execute - system 'git add CHANGELOG.md' - system 'git commit -m "Update CHANGELOG"' + system <<~COMMAND + (cd admin && GENERATE_API_DOCS=true bin/rails test) && + (cd storefront && GENERATE_API_DOCS=true bin/rails test) && + git add doc/ && + git commit -am "Update documentation" && + git push origin HEAD + COMMAND # - # Build documentation + # Updating changelog # # - #system <<~COMMAND - # (cd admin && GENERATE_API_DOCS=true bin/rails test) && - # (cd storefront && GENERATE_API_DOCS=true bin/rails test) && - # git add doc/ && - # git commit -am "Update documentation" && - # git push origin HEAD - #COMMAND + Rake::Task['workarea:changelog'].execute + system 'git add CHANGELOG.md' + system 'git commit -m "Update CHANGELOG"' # # Build gem files # #