Skip to content

Commit

Permalink
added CHANGES
Browse files Browse the repository at this point in the history
  • Loading branch information
slagyr committed Oct 25, 2006
1 parent daeb0e3 commit d0ec831
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
= StateMachine Changelog

== Version 0.0.0 (in SVN)

The first release. Most finite state machine features are implemented
* states
* transitions
* transition actions
* super states
* entry actions
* exit actions
* history state
19 changes: 8 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ end
# publisher.upload
#end

task :verify_user do
raise "RUBYFORGE_USER environment variable not set!" unless ENV['RUBYFORGE_USER']
end

task :verify_password do
raise "RUBYFORGE_PASSWORD environment variable not set!" unless ENV['RUBYFORGE_PASSWORD']
end

desc "Publish gem+tgz+zip on RubyForge. You must make sure lib/version.rb is aligned with the CHANGELOG file"
task :publish_packages => [:verify_user, :verify_password, :package] do
require 'meta_project'
Expand All @@ -159,15 +167,4 @@ task :publish_packages => [:verify_user, :verify_password, :package] do
xf.files = release_files.to_a
xf.release_name = "StateMachine #{PKG_VERSION}"
end
end

desc "Publish news on RubyForge"
task :publish_news => [:verify_user, :verify_password] do
require 'meta_project'
require 'rake/contrib/xforge'
Rake::XForge::NewsPublisher.new(MetaProject::Project::XForge::RubyForge.new(PKG_NAME)) do |news|
# Never hardcode user name and password in the Rakefile!
news.user_name = ENV['RUBYFORGE_USER']
news.password = ENV['RUBYFORGE_PASSWORD']
end
end

0 comments on commit d0ec831

Please sign in to comment.