Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

sonatype/nexus-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gem command extension for nexus gem repository server

  • Build Status

see

installing

gem install nexus

usage

gem nexus my.gem

then the command will prompt for the url, username and password.

or you can specify --url URL and --credential USER:PASS to skip first prompt.

gem nexus --url http:https://localhost:8081/nexus/content/repositories/gems-internal --credential "your-account:${YOUR_PASS}" my.gem

for further info on how to deploy to more then one repo, keep the credentials file on different file system location (like on an external device) or encrypt the credentials file altogether with password based encryption:

gem help nexus

test, build, deploy, push

prepare the dependencies

bundle install

run tests

bundle exec rake 

build and push gem to rubygems.org

gem build nexus.gemspec
gem push nexus-*.gem

install the gem into your local rubgems repository

gem install -l nexus-*.gem

contributing

  1. fork it
  2. create your feature branch (git checkout -b my-new-feature)
  3. commit your changes (git commit -am 'Added some feature')
  4. push to the branch (git push origin my-new-feature)
  5. create new pull request

meta-fu

enjoy :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages