Skip to content

Commit a39f37d

Browse files
committed
Prepare release 0.0.9
- Update version from 0.0.9-SNAPSHOT to 0.0.9 - Update CHANGELOG.md with final fixes for 0.0.9 release
1 parent a63acc2 commit a39f37d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gradle-docfx-plugin changelog
22

3-
## 0.0.9-SNAPSHOT
3+
## 0.0.9
44

55
### Added
66
* **Auto-configure dependencies**: Plugin now automatically detects custom Docs tasks and makes docfxZip depend on them
@@ -14,9 +14,13 @@
1414
* Fixed DocFX detection to check `~/.dotnet/tools/docfx` as fallback when `docfx` is not in PATH
1515
* Plugin now correctly finds DocFX installed via `dotnet tool install -g docfx` even when `~/.dotnet/tools` is not in PATH
1616
* Updated `isDocfxNativelySupported()` and `isDocfxInPath()` to check `~/.dotnet/tools/docfx` location
17-
* **Fixed docFxZip task timing issue**: Task now checks for `source` in `doFirst` instead of `onlyIf` to handle cases where `source` is set in another task's `doLast` (e.g., `msbuild.doLast`)
18-
* Task will now properly detect source set dynamically during build execution
19-
* Added detailed logging to help diagnose issues with source detection
17+
* **Fixed docFxZip task configuration timing**: Moved zip task 'from' configuration to docFx.doLast instead of zipTask.doFirst
18+
* This ensures _site directory exists before configuring the zip task
19+
* Matches the original approach in docfx.gradle
20+
* Proper timing: docFx runs -> docFx.doLast configures zip -> zipTask runs
21+
* **Fixed docFxZip source detection**: Task now properly gets source from docFx task's extension after docFx runs
22+
* Source is correctly detected even when set in msbuild.doLast
23+
* Task configuration happens at the right time in the execution lifecycle
2024
* **Fixed docFxInfo task**: Task now handles missing `docfx` command gracefully instead of failing the build
2125
* Logs a warning and continues execution when `docfx` is not available
2226
* Allows build scripts to download/install DocFX without blocking the build

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = 0.0.9-SNAPSHOT
1+
version = 0.0.9

0 commit comments

Comments
 (0)