alphagov / tech-docs-gem

Gem to distribute the tech docs project
https://tdt-documentation.london.cloudapps.digital/
MIT License
15 stars 38 forks source link

Automate releases to Rubygems #67

Closed tijmenb closed 5 years ago

tijmenb commented 5 years ago

This sets up a deployment on Travis, which hopefully means it'll release a new version every time we merge a new version to master. This prevents the project from being dependent on me to release new versions.

We've encrypted the Rubygems API key. The API key belongs to the https://rubygems.org/profiles/govuk user. Note that this user belongs to the GOV.UK programme, which has no formal relationship to the tech docs template. However until there's a team officially owning the project, we'll have to do it like this.

Thanks to @36degrees for helping me understand Travis.

jonathanglassman commented 5 years ago

Thanks @tijmenb. Would someone still need to add in changes to the change log and increment the version in the version.rb file?

tijmenb commented 5 years ago

@jonathanglassman yes, that should be done in a separate PR.