Merge remote-tracking branch 'origin/main' into ruby3

This commit is contained in:
Rick Bradley 2022-08-15 16:53:20 -05:00
Родитель a68a540ef1 eb4d5f89b1
Коммит 3a89480ef3
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -1,7 +1,7 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "entitlements-app"
s.name = ENV['GEM_NAME'] ? ENV['GEM_NAME'] : 'entitlements-app'
s.version = File.read("VERSION").chomp
s.summary = "git-managed LDAP group configurations"
s.description = "The Ruby Gem that Powers Entitlements - GitHub's Identity and Access Management System"

Просмотреть файл

@ -10,8 +10,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
cd ${DIR}
# Build a new gem archive.
rm -rf entitlements-*.gem
rm -rf entitlements-app-*.gem
GEM_NAME='entitlements' gem build -q entitlements-app.gemspec
gem build -q entitlements-app.gemspec
# Make sure we're on the main branch.
@ -36,5 +37,6 @@ git fetch -t origin
# Tag it and bag it.
gem push entitlements-app-*.gem && git tag "$tag" &&
git push origin main && git push origin "$tag"
gem push entitlements-app-*.gem && rm -f entitlements-app-*.gem
gem push entitlements-*.gem && rm -f entitlements-*.gem
git tag "$tag" && git push origin main && git push origin "$tag"