nerdbank-gitversioning 3.9.32-alpha → 3.9.37-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -669,7 +669,7 @@
669
669
  </member>
670
670
  <member name="M:Nerdbank.GitVersioning.GitContext.GetEffectiveGitEngine(Nerdbank.GitVersioning.GitContext.Engine)">
671
671
  <summary>
672
- Gets the effective git engine to use, taking into account automatic disabling for Dependabot.
672
+ Gets the effective git engine to use, taking into account automatic disabling for Dependabot and GitHub Copilot.
673
673
  This overload checks the NBGV_GitEngine environment variable and parses it automatically.
674
674
  </summary>
675
675
  <param name="defaultEngine">The engine to use if no environment variables dictate otherwise.</param>
@@ -679,6 +679,7 @@
679
679
  Valid values are "LibGit2", "Managed", and "Disabled" (case-sensitive).
680
680
  Unrecognized values are treated as if the variable was not set, maintaining backward compatibility.
681
681
  Otherwise, if the DEPENDABOT environment variable is set to "true" (case-insensitive), returns <see cref="F:Nerdbank.GitVersioning.GitContext.Engine.Disabled"/>.
682
+ Otherwise, if the GITHUB_ACTOR environment variable is set to "copilot-swe-agent[bot]", returns <see cref="F:Nerdbank.GitVersioning.GitContext.Engine.Disabled"/>.
682
683
  Otherwise, returns <paramref name="defaultEngine"/>.
683
684
  </remarks>
684
685
  </member>
@@ -754,6 +755,12 @@
754
755
  </summary>
755
756
  <returns><see langword="true"/> if DEPENDABOT environment variable is set to "true" (case-insensitive); otherwise, <see langword="false"/>.</returns>
756
757
  </member>
758
+ <member name="M:Nerdbank.GitVersioning.GitContext.IsGitHubCopilotEnvironment">
759
+ <summary>
760
+ Determines whether the current environment is running under GitHub Copilot.
761
+ </summary>
762
+ <returns><see langword="true"/> if GITHUB_ACTOR environment variable is set to "copilot-swe-agent[bot]"; otherwise, <see langword="false"/>.</returns>
763
+ </member>
757
764
  <member name="T:Nerdbank.GitVersioning.GitException">
758
765
  <summary>
759
766
  The exception which is thrown by the managed Git layer.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "nbgv/3.9.32-alpha": {
9
+ "nbgv/3.9.37-alpha": {
10
10
  "dependencies": {
11
11
  "CSharpIsNullAnalyzer": "0.1.593",
12
12
  "DotNetAnalyzers.DocumentationAnalyzers": "1.0.0-beta.59",
@@ -18,7 +18,7 @@
18
18
  "StyleCop.Analyzers.Unstable": "1.2.0.556",
19
19
  "System.CommandLine": "2.0.0-rc.2.25502.107",
20
20
  "System.Diagnostics.Tools": "4.3.0",
21
- "Nerdbank.GitVersioning": "3.9.32.26105"
21
+ "Nerdbank.GitVersioning": "3.9.37.17607"
22
22
  },
23
23
  "runtime": {
24
24
  "nbgv.dll": {}
@@ -739,23 +739,23 @@
739
739
  },
740
740
  "runtime": {
741
741
  "Nerdbank.GitVersioning.dll": {
742
- "assemblyVersion": "3.9.32.26105",
743
- "fileVersion": "3.9.32.26105"
742
+ "assemblyVersion": "3.9.37.17607",
743
+ "fileVersion": "3.9.37.17607"
744
744
  }
745
745
  }
746
746
  },
747
- "Nerdbank.GitVersioning/3.9.32.26105": {
747
+ "Nerdbank.GitVersioning/3.9.37.17607": {
748
748
  "runtime": {
749
749
  "Nerdbank.GitVersioning.dll": {
750
- "assemblyVersion": "3.9.32.26105",
751
- "fileVersion": "3.9.32.26105"
750
+ "assemblyVersion": "3.9.37.17607",
751
+ "fileVersion": "3.9.37.17607"
752
752
  }
753
753
  }
754
754
  }
755
755
  }
756
756
  },
757
757
  "libraries": {
758
- "nbgv/3.9.32-alpha": {
758
+ "nbgv/3.9.37-alpha": {
759
759
  "type": "project",
760
760
  "serviceable": false,
761
761
  "sha512": ""
@@ -1255,7 +1255,7 @@
1255
1255
  "serviceable": false,
1256
1256
  "sha512": ""
1257
1257
  },
1258
- "Nerdbank.GitVersioning/3.9.32.26105": {
1258
+ "Nerdbank.GitVersioning/3.9.37.17607": {
1259
1259
  "type": "reference",
1260
1260
  "serviceable": false,
1261
1261
  "sha512": ""
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nerdbank-gitversioning",
3
- "version": "3.9.32-alpha",
3
+ "version": "3.9.37-alpha",
4
4
  "description": "Stamps your NPM packages with semver 2.0 compliant git commit specific version information.",
5
5
  "author": {
6
6
  "name": "Andrew Arnott",