1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-sinatra

Клонировать/Скачать
RELEASING.md 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Patrik Ragnarsson Отправлено 28.12.2023 18:37 5d844ee

Releasing Sinatra 🥂

This document explains releasing process for all Sinatra gems.

Since everything is bundled in same repo (except Mustermann), we have some rake tasks and a GitHub Actions workflow to cut a release.

(Please refer to Mustermann if that also needs a release.)

Releasing

For releasing new version of [sinatra, sinatra-contrib, rack-protection], this is the procedure:

  1. Update CHANGELOG.md
  2. Update VERSION file with target version
  3. Run rake release:commit_version
  4. Create pull request with all that (example)
  5. Merge the pull request when CI is green
  6. Ensure you have latest changes locally
  7. Run rake release:tag_version
  8. Push tag to upstream
  9. Run rake release:watch and watch GitHub Actions push to RubyGems.org

Packaging

These rake tasks will generate .gem and .tar.gz files. For each gem, there is one dedicated rake task.

# Build sinatra-contrib package
$ bundle exec rake package:sinatra-contrib

# Build rack-protection package
$ bundle exec rake package:rack-protection

# Build sinatra package
$ bundle exec rake package:sinatra

# Build all packages
$ bundle exec rake package:all

Packaging and installing locally

These rake tasks will package all the gems, and install them locally

# Build and install sinatra-contrib gem locally
$ bundle exec rake install:sinatra-contrib

# Build and install rack-protection gem locally
$ bundle exec rake install:rack-protection

# Build and install sinatra gem locally
$ bundle exec rake install:sinatra

# Build and install all gems locally
$ bundle exec rake install:all

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-sinatra.git
git@api.gitlife.ru:oschina-mirror/mirrors-sinatra.git
oschina-mirror
mirrors-sinatra
mirrors-sinatra
main