Rakefile in workarea-api-4.5.0 vs Rakefile in workarea-api-4.5.2
- old
+ new
@@ -75,23 +75,22 @@
#
#
Rake::Task['workarea:changelog'].execute
system 'git add CHANGELOG.md'
system 'git commit -m "Update CHANGELOG"'
- system 'git push origin HEAD'
#
# Build documentation
#
#
- system <<~COMMAND
- (cd admin && GENERATE_API_DOCS=true bin/rails test) &&
- (cd storefront && GENERATE_API_DOCS=true bin/rails test) &&
- git add docs/ &&
- git commit -am "Update documentation" &&
- git push origin HEAD
- COMMAND
+ #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 gem files
#
#
@@ -114,10 +113,10 @@
end
system "gem push workarea-api-#{Workarea::Api::VERSION}.gem"
system "gem push workarea-api-#{Workarea::Api::VERSION}.gem --host #{host}"
system 'Tagging git...'
system "git tag -a v#{Workarea::Api::VERSION} -m 'Tagging #{Workarea::Api::VERSION}'"
- system 'git push --tags'
+ system 'git push origin HEAD --follow-tags'
#
# Clean up
#
#