PkgBump
Documentation for PkgBump.
PkgBump.bump
PkgBump.bumpmajor
PkgBump.bumpminor
PkgBump.bumppatch
PkgBump.updatemajor
PkgBump.updatemajor!
PkgBump.updateminor
PkgBump.updateminor!
PkgBump.updatepatch
PkgBump.updatepatch!
PkgBump.updateversion
PkgBump.updateversion!
PkgBump.bump
— Methodbump(mode::Symbol; commit=true, push=true)
Bumps the version of the current active project according to mode
, commits the change to a new branch, and pushes the branch to the remote repository.
PkgBump.bumpmajor
— Methodbumpmajor(;kwargs)
Bump the major version of the current active project, commit, and push the changes.
PkgBump.bumpminor
— Methodbumpminor(;kwargs)
Bump the minor version of the current active project, commit, and push the changes.
PkgBump.bumppatch
— Methodbumppatch(;kwargs)
Bump the patch version of the current active project, commit, and push the changes.
PkgBump.updatemajor!
— Methodupdatemajor!(project::Pkg.Types.Project, project_file)
Increment the major version of the given project and write the changes to the project_file
.
PkgBump.updatemajor
— Methodupdatemajor(project_file::AbstractString)
Update the major version of the project defined in project_file
.
PkgBump.updateminor!
— Methodupdateminor!(project::Pkg.Types.Project, project_file::AbstractString)
Increment the minor version of the given project and write the changes to the project_file
.
PkgBump.updateminor
— Methodupdateminor(project_file::AbstractString)
Update the minor version of the project defined in project_file
.
PkgBump.updatepatch!
— Methodupdatepatch!(project::Pkg.Types.Project, project_file::AbstractString)
Increment the patch version of the given project and write the changes to the project_file
.
PkgBump.updatepatch
— Methodupdatepatch(project_file::AbstractString)
Update the patch version of the project defined in project_file
.
PkgBump.updateversion!
— Methodupdateversion!(project::Pkg.Types.Project, project_file::AbstractString, mode::Symbol)
Update the version of the given project file according to the specified mode
(:patch, :minor, :major). The new version is written directly to the project_file
.
PkgBump.updateversion
— Methodupdateversion(project_file::AbstractString, mode::Symbol) -> Pkg.Types.Project
Read the project from project_file
, update its version according to mode
, and write the changes back. Returns the updated project.