wercker.yml in wercker_api-0.1.1.pre6 vs wercker.yml in wercker_api-0.1.2.pre
- old
+ new
@@ -6,29 +6,27 @@
name: rspec
code: bundle exec rspec
deploy-pre-release:
steps:
- bundle-install
+ - add-ssh-key:
+ keyname: GITHUB_KEY
+ - wercker/add-to-known_hosts@2.0.1:
+ hostname: github.com
+ fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
+ type: rsa
- script:
name: configure git
code: |
git config --global user.email "ymarquet@gmail.com"
git config --global user.name "StupidCodefactory"
- - add-ssh-key:
- keyname: GITHUB
- # - wercker/add-to-known_hosts@2.0.1:
- # hostname: github.com
- # fingerprint: 4d:de:af:f1:29:53:df:e1:26:f9:92:b9:cc:dc:e3:07
+ git config --global push.default simple
+ git branch --set-upstream master origin/master
+ git branch
- script:
- name: configure gem
+ name: gem build
code: |
- echo -e "---\n:rubygems_api_key: $GEM_API_KEY\n" >> ~/.gem/credentials
- chmod 0600 ~/.gem/credentials
+ rake build
- script:
- name: configure bump and tag
- code: |
- cat ~/.gem/credentials
- bundle exec gem bump -v pre -k ~/.gem/credentials
- - script:
name: configure release
code: |
- bundle exec gem release -k ~/.gem/credentials -t
+ rake --trace release[origin]