
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
fastlane-plugin-gitlab_changelog
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-gitlab_changelog
, add it to your project by running:
fastlane add_plugin gitlab_changelog
Get commit changelog using GitLab API
Plugin is particularly useful if you use Shallow Cloning and have small number, like GIT_DEPTH: "1"
, setting in your GitLab CI config.
In such case, Fastlane's
native changelog_from_git_commits
action is not helpful, because CI machine does not have a full git history to construct a changelog.
This plugin resolves latest release branch using git ls-remote
(always available).
git ls-remote --sort='v:refname' --heads origin refs/heads/release/*```
refs/heads/release/4.267.0 refs/heads/release/4.269.0 refs/heads/release/4.269.1 refs/heads/release/4.270.0 refs/heads/release/4.270.1
And then, fetches a changelog (JSON) between the current branch and the latest release branch using GitLab API
.
In a case then CI is on release branch currently - a changelog between current and previous release branches is constructed.
change_log = gitlab_changelog(
current_branch: "develop",
compare_branch_prefix: "release",
gitlab_API_baseURL: "http://git.yourcompany.net/api/v4",
gitlab_project_id: "123",
gitlab_API_token: "secret_gitlab_token"
)
Params:
Actions.git_branch
or ENV['CI_COMMIT_REF_NAME']
(default)release
to compare against release/*.*.*
branchesENV['CI_PROJECT_ID']
(default)ENV['MY_GITLAB_API_TOKEN']
Output: Fetching changeLog from: release/4.270.1 to: develop (GET http://git.yourcompany.net/api/v4/projects/123/repository/compare)
DEV0001 Feature 2 (Thom Yorke) 2019-12-31 DEV0002 Feature 1 (Jonny Greenwood) 2019-12-30
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
FAQs
Unknown package
We found that fastlane-plugin-gitlab_changelog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.