diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cea9cc..4e18198 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,4 +25,4 @@ jobs: run: dotnet cake build.cake --bootstrap --buildNumber=${{ github.run_number }} --branch="${{ github.ref_name }}" --buildPath="${{ github.workspace }}" --gitHubApiKey="${{ secrets.RELEASE_GITHUB_API_KEY }}" --nuGetApiKey="${{ secrets.NUGET_API_KEY }}" - name: Build, test, and publish - run: dotnet cake build.cake --buildNumber=${{ github.run_number }} --branch="${{ github.ref_name }}" --buildPath="${{ github.workspace }}" --gitHubApiKey="${{ secrets.RELEASE_GITHUB_API_KEY }}" --nuGetApiKey="${{ secrets.NUGET_API_KEY }}" + run: dotnet cake build.cake --buildNumber=${{ github.run_number }} --branch="${{ github.ref_name }}" --buildPath="${{ github.workspace }}" --gitHubApiKey="${{ secrets.RELEASE_GITHUB_API_KEY }}" --nuGetApiKey="${{ secrets.NUGET_API_KEY }}" --verbose=true --verbosity=Diagnostic diff --git a/agent-context/context/build-and-release.md b/agent-context/context/build-and-release.md index 8c38310..45ec94b 100644 --- a/agent-context/context/build-and-release.md +++ b/agent-context/context/build-and-release.md @@ -17,7 +17,7 @@ Tasks, in dependency order: `Clean` → `Build` → `Test` → `Publish` → `De | `build/PublishOperations.cake` | `DoPublish` — only runs `IsRelease(branch)` (branch == `main`); packs, creates a GitHub release (`Release-{version}` tag), uploads the `.nupkg` asset, pushes to NuGet | | `build/GitHubApiModels.cake` | Request/response DTOs for the GitHub Releases REST API | -Version = `CurrentRelease` (default `1.0.0`) + `.` + `buildNumber` argument, unless `currentVersion` is overridden. +Version = `CurrentRelease` (default `1.0.1`) + `.` + `buildNumber` argument, unless `currentVersion` is overridden. ## CI (`.github/workflows/`) Two GitHub Actions workflows, both `windows-latest` (Cake's `FlushDns` NuGet-publish workaround needs Windows), both ignore changes to `README.md` and `agent-context/**`: diff --git a/build/BuildConfig.cake b/build/BuildConfig.cake index f4e136c..b1de467 100644 --- a/build/BuildConfig.cake +++ b/build/BuildConfig.cake @@ -18,7 +18,7 @@ public class BuildConfig [StringArgument( "currentRelease", Description = "The current release version.", - DefaultValue = "1.0.0" + DefaultValue = "1.0.1" )] public string CurrentRelease { get; set; }