BuildMaster Documentation

Source Control - Apply Label

  • Last Modified: 2019-07-30

This is generated from the built-in components of BuildMaster 6.1.10, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your BuildMaster instance to see exactly what operations are available.

Apply Label

Applies a label to source files in the repository.

Script usage:

Apply-Label(
	Provider: <text>,
	Label: <text>,
	SourcePath: <text>
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

Name Format Script Usage Usage Notes
Provider name
text
Provider
This argument is required.
Label/tag
text
Label
This argument is required.
Source path
text
SourcePath
The path in source control to label. This path is a provider-specific string that may include additional information like branch name, etc. See the documentation on inedo.com regarding the specific source control system in use. This argument is required.

Example:

# tags files "rel-0.1.4" under MarketingPortal from the provider named Mercurial2, using the remote URL supplied in the 
# HdarsRepo repository on the master branch 
Apply-Label(
    Provider: Mercurial2,
    Label: rel-0.1.4,
    From: HdarsRepo|master:MarketingPortal/
);

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit ce197caa on master