Ejemplo n.º 1
0
        /// <summary>
        /// Returns the fully qualified path to the executable file.
        /// </summary>
        /// <returns>
        /// The fully qualified path to the executable file.
        /// </returns>
        protected override string GenerateFullPathToTool()
        {
            var svnPath = SvnHelper.GetFullPathToSvn();

            base.ToolPath = Path.GetDirectoryName(svnPath);
            return(svnPath);
        }
Ejemplo n.º 2
0
        public override bool Execute()
        {
            var fullTagLocation = String.Format("{0}/{1}", TagLocation, TagDirectory);
            var svnPath         = SvnHelper.GetFullPathToSvn();

            CreateDirectoriesForTagging(svnPath, fullTagLocation);
            return(CreateTag(svnPath, fullTagLocation) == 0);
        }