Skip to content

Prepare 1.0.0-rc.1 release - #113

Merged
paulirwin merged 1 commit into
mainfrom
release/1.0.0-rc.1
Oct 27, 2026
Merged

paulirwin merged 1 commit into
mainfrom
release/1.0.0-rc.1

Conversation

@paulirwin

Copy link
Copy Markdown
Member

Closes #89. Prepares the 1.0.0-rc.1 release.

Version in one place

Adds a VERSION file at the repo root (1.0.0-rc.1). A new Directory.Build.props reads it into <Version>, and the per-project <Version> elements are removed from both csproj files.

The two packages have to match: the Aspire package pins its container image tag to its own version (#83), so it pulls ghcr.io/feature23/azuresearchemulator:<its version>. With one file, a version bump is a one-line change and the two can't get out of sync.

  • The Dockerfile copies VERSION and Directory.Build.props in before the restore layer.
  • The Aspire test that checks the image tag against the package version now reads VERSION instead of the csproj.

Print the version on startup (#89)

The emulator now logs its version as the first line on startup:

info: AzureSearchEmulator[0]
      Azure Search Emulator 1.0.0-rc.1

The version lookup the dashboard already used moves out of EmulatorStatusService into a shared EmulatorVersion class. The log line and the dashboard now use the same value. A new unit test checks that it matches VERSION.

Verified

  • Solution builds; unit tests (1107) and Aspire tests (8) pass.
  • dotnet pack produces AzureSearchEmulator.1.0.0-rc.1 and F23.Aspire.Hosting.AzureSearchEmulator.1.0.0-rc.1.
  • Docker image builds, and the container prints the version line on start.

After merge

Tag the merge commit v1.0.0-rc.1 and push the tag. That runs the NuGet and Docker publish workflows. Then create the GitHub Release as a pre-release.

🤖 Generated with Claude Code

Move the release version into a VERSION file at the repo root, read by a
new Directory.Build.props. Both packages used to carry their own
<Version>, and they have to match: the Aspire package pins its container
image tag to its own version. One file means a release bump is a
one-line change and the two can't drift.

The Dockerfile copies VERSION and Directory.Build.props in before the
restore step, because that layer is built before the rest of the source
is copied.

Log the emulator's version as the first line on startup (#89). The
version lookup that already fed the dashboard moves into a shared
EmulatorVersion class, so the log line and the dashboard read it the
same way.

Bump to 1.0.0-rc.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulirwin
paulirwin merged commit 081985e into main Oct 27, 2026
5 checks passed
@paulirwin
paulirwin deleted the release/1.0.0-rc.1 branch October 27, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print app version to console on startup

1 participant