-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fastlane:master' into update-csr-to-sha256
- Loading branch information
Showing
356 changed files
with
8,908 additions
and
1,616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
file = File.join(__dir__, "..", "Gemfile.lock") | ||
lines = File.read(file).split("\n") | ||
idx = lines.index { |l| l == "BUNDLED WITH" } | ||
puts lines[idx + 1].strip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env ruby | ||
# | ||
# prints out the latest version number of the gem compatible with the given version of ruby | ||
# | ||
require 'net/http' | ||
require 'json' | ||
|
||
GEM_TO_TEST = "rubygems-update" | ||
|
||
if ARGV.count > 0 | ||
RUBY_VERSION_TO_MATCH = ARGV[0] | ||
else | ||
RUBY_VERSION_TO_MATCH = RUBY_VERSION | ||
end | ||
|
||
API_URL = "https://rubygems.org/api/v1/versions/#{GEM_TO_TEST}.json" | ||
|
||
# Load list of all available versions of GEM_TO_TEST | ||
gem_versions = JSON.parse(Net::HTTP.get(URI(API_URL))) | ||
|
||
# Process list to find matching Ruby version | ||
matching_gem = gem_versions.find { |gem| | ||
Gem::Dependency.new('', gem['ruby_version']). | ||
match?('', RUBY_VERSION_TO_MATCH) | ||
} | ||
|
||
puts matching_gem['number'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "bundler" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Configuration file for https://github.com/actions/labeler | ||
|
||
"tool: action": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- fastlane/lib/fastlane/actions/**/* | ||
|
||
"tool: cert": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- cert/**/* | ||
|
||
"tool: deliver": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- deliver/**/* | ||
|
||
"tool: fastlane_core": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- fastlane_core/**/* | ||
|
||
"tool: frameit": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- frameit/**/* | ||
|
||
"tool: gym": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- gym/**/* | ||
|
||
"tool: match": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- match/**/* | ||
|
||
"tool: pem": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- pem/**/* | ||
|
||
"tool: pilot": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- pilot/**/* | ||
|
||
"tool: precheck": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- precheck/**/* | ||
|
||
"tool: produce": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- produce/**/* | ||
|
||
"tool: scan": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- scan/**/* | ||
|
||
"tool: screengrab": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- screengrab/**/* | ||
|
||
"tool: sigh": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- sigh/**/* | ||
|
||
"tool: snapshot": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- snapshot/**/* | ||
|
||
"tool: spaceship": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- spaceship/**/* | ||
|
||
"tool: supply": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- supply/**/* | ||
|
||
"topic: swift": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- fastlane/swift/**/* | ||
|
||
"tool: trainer": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- trainer/**/* | ||
|
||
"type: ci": | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- .github/**/* | ||
- .circleci/**/* | ||
- appveyor.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Process release | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
announce-release-on-released-pull-requests: | ||
name: Announce release on released pull requests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@master | ||
with: | ||
ref: refs/heads/master | ||
- name: Announce release on released pull requests | ||
uses: fastlane/github-actions/communicate-on-pull-request-released@latest | ||
with: | ||
repo-token: '${{ secrets.BOT_GITHUB_TOKEN }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Deploy to RubyGems | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
deploy-to-rubygems: | ||
name: Deploy to RubyGems | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: '3.2' | ||
- uses: rubygems/release-gem@v1 |
Oops, something went wrong.