bugfix bin/mark-as-published.rb