orangeweb-tasks 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tasks/git.rake CHANGED
@@ -22,15 +22,21 @@ end
22
22
  # Git
23
23
  namespace :git do
24
24
 
25
- # show
25
+ desc "Tag last Commit with current semver version"
26
26
  task :tag do
27
- Rake::Task['git:tag:show'].invoke
27
+ Rake::Task['git:tag:create'].invoke
28
28
  end # show
29
+
30
+ desc "Push all repo, commits, branchs and tags"
31
+ task :push do
32
+ sh "git push --all"
33
+ sh "git push --tags"
34
+ end # git:tag:create
29
35
 
30
36
  # Git Tag
31
37
  namespace :tag do
32
38
 
33
- desc "Tag last Commit with a auto increment number prefix"
39
+ # create a commit with last semver
34
40
  task :create do
35
41
  tag = File.read("semver/WORKING")
36
42
  sh "git tag -a #{tag} -m #{tag}"
@@ -23,6 +23,10 @@ end
23
23
  namespace :semver do
24
24
 
25
25
 
26
+ desc "Bumps Build Version"
27
+ task :bump do
28
+ Rake::Task['semver:bump:build'].invoke
29
+ end # luizeof:semver:bump
26
30
 
27
31
  # shows current app version
28
32
  task :show do
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orangeweb-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Luiz Eduardo O. Fonseca
8
+ - Luiz Eduardo Oliveira Fonseca
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-01-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Orangeweb Tasks for Rails
15
15
  email: luizeof@gmail.com
@@ -25,7 +25,7 @@ files:
25
25
  - lib/tasks/semver.rake
26
26
  - lib/tasks/webserver.rake
27
27
  - README.md
28
- homepage: https://bitbucket.org/orangeweb/gem-orangework-tasks
28
+ homepage: https://github.com/orangeweb/orangeweb-tasks-gem
29
29
  licenses: []
30
30
  post_install_message:
31
31
  rdoc_options: []