Forked from hansode's ruby-2.1.x-rpm project at https://github.com/hansode/ruby-2.1.x-rpm and updated for 2.2.2.
It's Simple.
- Create your feature branch named
ruby-{major}.{minor}.{patch}
(e.g ruby-2.2.4) - Edit
ruby-{major}.{minor}.spec
- Change value of
Version
- Add Changelog
- Change value of
- Push to the branch.
- Create a Pull request.
- When the Pull request is merged, CircleCI will release ruby rpms to https://github.com/feedforce/ruby-rpm/releases .
We create a Pull Request automatically using CircleCI.
This project uses Docker to build RPMs.
The Docker images are hosted at Docker Hub.
- For CentOS 7:
feedforce/ruby-rpm:centos7
- For CentOS 6:
feedforce/ruby-rpm:centos6
The Docker images will be built at Docker Hub automatically.
- Commit changes about
Dockerfile-{6,7}
to a feature branch - Push the feature branch to GitHub repository
- Merge the feature branch to the master branch
- Wait for building Docker images by Docker Hub Automated Build
You can also build Docker images manually.
$ docker build -t feedforce/ruby-rpm:centos7 -f Dockerfile-7 .
$ docker build -t feedforce/ruby-rpm:centos6 -f Dockerfile-6 .
Push to Docker Hub if necessary.
$ docker login
$ docker push feedforce/ruby-rpm:centos7
$ docker push feedforce/ruby-rpm:centos6