Merge remote-tracking branch 'origin/main' into ruby3
This commit is contained in:
Коммит
3a89480ef3
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче