Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds missing params for better changelogs when bumping #513

Merged
merged 1 commit into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adds missing params
  • Loading branch information
vegaro committed Jan 5, 2023
commit 2560cf4304976c878bfd088d2dd4c13a69f5ae46
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.667.0)
aws-sdk-core (3.168.2)
aws-partitions (1.687.0)
aws-sdk-core (3.168.4)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.59.0)
aws-sdk-kms (1.61.0)
aws-sdk-core (~> 3, >= 3.165.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.117.1)
aws-sdk-s3 (1.117.2)
aws-sdk-core (~> 3, >= 3.165.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
Expand Down Expand Up @@ -111,7 +111,7 @@ GEM
escape (0.0.4)
ethon (0.15.0)
ffi (>= 1.15.0)
excon (0.94.0)
excon (0.96.0)
faraday (1.10.2)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand Down Expand Up @@ -189,9 +189,9 @@ GEM
git (1.12.0)
addressable (~> 2.8)
rchardet (~> 1.8)
google-apis-androidpublisher_v3 (0.31.0)
google-apis-androidpublisher_v3 (0.32.0)
google-apis-core (>= 0.9.1, < 2.a)
google-apis-core (0.9.1)
google-apis-core (0.9.3)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
Expand Down Expand Up @@ -234,14 +234,14 @@ GEM
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.6.2)
jwt (2.5.0)
json (2.6.3)
jwt (2.6.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
memoist (0.16.2)
mini_magick (4.11.0)
mini_magick (4.12.0)
mini_mime (1.1.2)
minitest (5.16.2)
molinillo (0.8.0)
Expand Down
10 changes: 7 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ files_with_version_number = [
repo_name = 'react-native-purchases'
changelog_latest_path = './CHANGELOG.latest.md'
changelog_path = './CHANGELOG.md'
versions_path = './VERSIONS.md'

before_all do
setup_circle_ci
end

desc "Bump version, edit changelog, and create pull request"
lane :bump do |options|
phc_version = get_phc_version
bump_version_update_changelog_create_pr(
current_version: current_version_number,
changelog_latest_path: changelog_latest_path,
Expand All @@ -26,12 +28,14 @@ lane :bump do |options|
github_rate_limit: options[:github_rate_limit],
editor: options[:editor],
next_version: options[:next_version],
automatic_release: options[:automatic_release]
automatic_release: options[:automatic_release],
hybrid_common_version: phc_version,
versions_file_path: versions_path
)
update_hybrids_versions_file(
versions_file_path: './VERSIONS.md',
versions_file_path: versions_path,
new_sdk_version: current_version_number,
hybrid_common_version: get_phc_version
hybrid_common_version: phc_version
)
commit_current_changes(commit_message: 'Update VERSIONS.md')
push_to_git_remote(set_upstream: true)
Expand Down