Skip to content

Commit

Permalink
[TO REVERT] Add temp lane to test git push permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Jul 2, 2024
1 parent afe335d commit 2597b0d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .buildkite/test-git-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---


steps:
- label: "Test Git Push 👀"
plugins: [$CI_TOOLKIT]
command: |
install_gems
bundle exec fastlane test_git_push
agents:
queue: "tumblr-metal"
12 changes: 12 additions & 0 deletions fastlane/lanes/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,18 @@
create_release_management_pull_request('trunk', "Merge #{new_version} code freeze into trunk")
end

lane :test_git_push do |options|
Fastlane::Helper::GitHelper.checkout_and_pull('iangmaia/trusted-agent-for-push-access')

UI.message 'Bumping beta version and build code...'
VERSION_FILE.write_version(
version_name: code_freeze_beta_version,
version_code: next_build_code
)
commit_version_bump
push_to_git_remote(tags: false)
end

#####################################################################################
# new_beta_release
# -----------------------------------------------------------------------------------
Expand Down

0 comments on commit 2597b0d

Please sign in to comment.