Project

tagging

0.0
No commit activity in last 3 years
No release in over 3 years
Automated version management for your RailsApp builds on CI
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 1.2.5
>= 0
 Project Readme

Tagging

Gem Version Code Climate Test Coverage

Automated version management for your RailsApp builds on CI

Resources

Install

$ gem install tagging

or

gem 'tagging', require: false

Description

Never bother updating the version for your next gem build by hand. Configured in your Rakefile, gem_version automatically provides the next version and commits it to the repository.

Usage

  • Rake

bundle exec rake tagging:push

Bash

cd /rails/app/path && git-tagging push

  • It's necessary that your server have ssh permission. Seting a git user

git-tagging push --config user.email my@mail.com user.name "My Name"

  • Load remote tags

git-tagging --version -f

AWS OpsWorkers (gem dpl) + CircleCI

dependencies:
  pre:
    - gem install tagging -v 0.2.1
    
deployment:
  production:
    branch: master
    commands:
      - git-tagging push --config user.email para.alves@gmail.com user.name "Altherlex Alves"
      - dpl --provider=opsworks --access-key-id=$AWS_ACCESS_KEY_ID --secret-access-key="$AWS_SECRET_ACCESS_KEY" --app-id=$AWS_ESPN_API_ID --wait-until-deployed --custom_json="{'deploy':{'espn_api':{'scm':{'revision':'tags/$(git-tagging --version)' }}}}" --skip_cleanup