Posts

Showing posts with the label Git

Integrating Fastlane with CI/CD Pipelines- 7

Image
  Using Jenkins to automate your Android app’s build and release process can save a lot of time and effort. By integrating Fastlane into your Jenkins pipeline, you can automate tasks like versioning, building, testing, and uploading your app to the Google Play Store. In this section, we’ll walk through the steps to integrate Fastlane into Jenkins. Step 1: Install Fastlane on Your Jenkins Server First, you need to ensure that Fastlane is installed on your Jenkins server. You can install Fastlane using the following steps: Install Ruby : Since Fastlane is built with Ruby, you’ll need to install Ruby on your Jenkins server. On a Linux-based server, you can install Ruby by running: sudo apt update sudo apt install ruby-full Install Fastlane : Once Ruby is installed, you can install Fastlane using the following command: sudo gem install fastlane -NV Alternatively, you can add Fastlane to your project’s Gemfile and install it using Bundler (recommended for managing dependenc...

Managing App Versioning and Changelogs- 6

Image
 When you release a new version of your Android app, there are a few important details that need to be updated: the version number, version code, and changelog. These are all critical for tracking releases and communicating new features or fixes to your users. Managing these elements manually can be time-consuming and error-prone, especially as your app evolves. But with Fastlane , you can automate versioning and changelog management, saving you time and avoiding mistakes. In this section, we’ll explore how to automate app versioning and changelog management using Fastlane . Step 1: Automating Versioning with increment_version_code Every time you upload a new version of your app to the Play Store, you need to increase the version code . This is required by Google Play to differentiate between different versions of your app. If you don’t increment the version code correctly, your app upload will fail. Fastlane makes this simple by automating the version code increment with the incre...

From ‘Master’ to ‘Main’: The Meaning Behind Git’s Naming Shift

Image
                             Git changed its default branch name from master to main due to concerns about inclusivity and to remove references to terms with problematic historical connotations. The term master has been associated with slavery, and many tech communities sought to use more neutral and inclusive language. Reason for the Change: Inclusivity & Sensitivity- Many organizations aimed to remove racially charged terminology from software development. Consistency Across Communities- Other projects and platforms, such as Github, Gitlab, and software frameworks, also made similar changes. Modern Naming Conventions- main is a cleaner and more intuitive name, as it represents the primary branch of a repository. Interesting Facts —  It wasn’t originally about slavery  — The term Git did not originate from the master/slave concept used in computing. It likely came from Bitkeeper , a version contro...