Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion agent-context/context/build-and-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/**`:
Expand Down
2 changes: 1 addition & 1 deletion build/BuildConfig.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
Loading