Skip to content

Build automation improvements - #828

Merged
poppastring merged 5 commits into
mainfrom
nuget-updates
May 9, 2026
Merged

poppastring merged 5 commits into
mainfrom
nuget-updates

Conversation

@poppastring

Copy link
Copy Markdown
Owner

PR Classification

New feature and build automation improvements.

PR Summary

This pull request adds a .NET template for DasBlog Core, enhances build automation for multi-platform and release workflows, and introduces a security warning for default admin credentials.

  • Adds DasBlog.Template project and template.json for dotnet new support.
  • Updates azure-pipelines.yml for multi-platform builds, tag-based versioning, NuGet publishing, and GitHub Releases.
  • Implements DefaultCredentialsCheck service and injects a security warning partial into the main layout.
  • Updates TagHelpers to use https for Gravatar URLs.
  • Modifies BlogDataServiceXml and LoggingDataServiceXml to create missing directories instead of throwing exceptions.

Introduced DasBlog.Template for dotnet new scaffolding. Updated config files to use template parameters for easier setup. Switched Gravatar URLs to HTTPS. Improved directory handling in data/logging services. Removed DockerDefaultTargetOS from project file. Updated .gitignore for template-staging.
Updated site and security config with real email/URL values. Added DefaultCredentialsCheck service and partial view to warn admins if default credentials are in use. Integrated warning into main layout for visibility.
- Trigger builds on main and version tags ('v*')
- Improve build number logic for tags and branches
- Fetch all tags and full history for versioning
- Add steps for publish, NuGet pack/push, and GitHub release on tag buildsx
Updated all .csproj files in the DasBlog solution to increment the version from 10.1.0 to 10.2.0, ensuring consistency across CLI, Core, Managers, Services, Template, Web, and Runtime projects.
Added <PackageIcon> and <PackageReadmeFile> to DasBlog.Template.csproj for NuGet support. Included dasblog-square-icon.jpg and NUGET_README.md in the package. The README provides usage instructions and links; the icon is used for NuGet package branding.
@poppastring
poppastring merged commit 2fee229 into main May 9, 2026
3 checks passed
@poppastring
poppastring deleted the nuget-updates branch May 9, 2026 23:42
@poppastring poppastring mentioned this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant