• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

samsmithnz / RepoAutomation / 3895898324

pending completion
3895898324

push

github

GitHub
Merge pull request #212 from samsmithnz/FixToLanguageTest

333 of 474 branches covered (70.25%)

Branch coverage included in aggregate %.

795 of 893 relevant lines covered (89.03%)

6.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/RepoAutomation.Core/Helpers/GitVersion.cs
1
namespace RepoAutomation.Core.Helpers
2
{
3
    public static class GitVersion
4
    {
5
        public static void AddGitVersionFile(string workingDirectory, string startingVersion = "0.1.0")
6
        {
2✔
7
            string gitVersionPath = workingDirectory + "\\GitVersion.yml";
2✔
8
            string contents = "next-version: " + startingVersion;
2✔
9
            File.WriteAllText(gitVersionPath, contents);
2✔
10
        }
2✔
11
    }
12
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc