<commit_before>#load "src/AutoCake.Release/dependencies.cake"
#load "src/AutoCake.Release/release-tasks.cake"
#load "src/AutoCake.Release/git-tasks.cake"

//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////

Task("Default")
    .IsDependentOn("Attempt-Release");

GitFlow.RunBuildTarget = () => 
{
  // See release-scripts/README.md for additional configuration options
  // and details on the syntax of this call.
  CakeRunnerAlias.RunCake(Context, new CakeSettings {
        Arguments = new Dictionary<string, string>()
        {
            { "targetdir", "build-artefacts/" + GitFlow.State.Version.FullSemVer }
        }
  });
};

var target = Argument("target", "Default");
RunTarget(target);<commit_msg>Update version number on each call. Build-State records the original state and is not updated during the release build cycle.<commit_after>#load "src/AutoCake.Release/dependencies.cake"
#load "src/AutoCake.Release/release-tasks.cake"
#load "src/AutoCake.Release/git-tasks.cake"

//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////

Task("Default")
    .IsDependentOn("Attempt-Release");

GitFlow.RunBuildTarget = () => 
{
  // See release-scripts/README.md for additional configuration options
  // and details on the syntax of this call.
  var versionInfo = GitVersioningAliases.FetchVersion();
  CakeRunnerAlias.RunCake(Context, new CakeSettings {
        Arguments = new Dictionary<string, string>()
        {
            { "targetdir", "build-artefacts/" + versionInfo.FullSemVer }
        }
  });
};

var target = Argument("target", "Default");
RunTarget(target);
{'fraction_non_alphanumeric': 0.2680874929893438, 'fraction_numerical': 0.0, 'mean_word_length': 2.0033670033670035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1817720', 'n_tokens_mistral': 476, 'n_tokens_neox': 459, 'n_words': 99}