diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1344326..8985c98 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -177,6 +177,7 @@ jobs: - name: Create GitHub Release and Upload Artifact uses: softprops/action-gh-release@v2 with: + prerelease: true files: ./release-artifacts/** env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index a2f1320..3ce33af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v7.0.2] - February 22, 2026 + +### Added + +- vcpkg support + ## [v7.0.1] - February 22, 2026 ### Fixed diff --git a/CMakeLists.txt b/CMakeLists.txt index 375cc0c..6d07b54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ endforeach() set(ULOG_BUILD_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include) set(ULOG_BUILD_SRC_DIR ${CMAKE_CURRENT_LIST_DIR}/src) set(ULOG_INSTALL_INCLUDE_DIR .) -set(ULOG_INSTALL_SRC_DIR src) +set(ULOG_INSTALL_SRC_DIR share/${PROJECT_NAME}/src) add_library(${PROJECT_NAME} INTERFACE) add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) diff --git a/cmake/micrologTargets.cmake b/cmake/micrologTargets.cmake index 7f10b7f..2b2e4a5 100644 --- a/cmake/micrologTargets.cmake +++ b/cmake/micrologTargets.cmake @@ -67,7 +67,7 @@ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}" ABSOLUTE) if(NOT TARGET microlog) add_library(microlog STATIC) - target_sources(microlog PRIVATE "${PACKAGE_PREFIX_DIR}/src/ulog.c" ) + target_sources(microlog PRIVATE "${PACKAGE_PREFIX_DIR}/share/microlog/src/ulog.c" ) target_include_directories(microlog PUBLIC "${PACKAGE_PREFIX_DIR}/include" ) add_library(microlog::microlog ALIAS microlog) diff --git a/ports/microlog/vcpkg.json b/ports/microlog/vcpkg.json index bd4daca..525b6bf 100644 --- a/ports/microlog/vcpkg.json +++ b/ports/microlog/vcpkg.json @@ -1,6 +1,6 @@ { "name": "microlog", - "version": "7.0.1", + "version": "7.0.2", "description": "Extensible and configurable logging library for embedded and desktop applications with multi-output and logging topics", "homepage": "https://github.com/an-dr/microlog", "license": "MIT", diff --git a/scripts/publish_vcpkg_port.ps1 b/scripts/publish_vcpkg_port.ps1 index 72bb272..910c320 100644 --- a/scripts/publish_vcpkg_port.ps1 +++ b/scripts/publish_vcpkg_port.ps1 @@ -11,7 +11,7 @@ Requires vcpkg to be bootstrapped (vcpkg.exe must exist in $VcpkgPath). .PARAMETER Tag - The git tag to publish (e.g. "v7.0.1"). + The git tag to publish (e.g. "v7.0.2"). Defaults to the version in the version file. .PARAMETER VcpkgPath @@ -20,7 +20,7 @@ .EXAMPLE .\scripts\publish_vcpkg_port.ps1 - .\scripts\publish_vcpkg_port.ps1 -Tag v7.0.1 + .\scripts\publish_vcpkg_port.ps1 -Tag v7.0.2 .\scripts\publish_vcpkg_port.ps1 -VcpkgPath C:\src\vcpkg #> diff --git a/version b/version index 9fe9ff9..a8907c0 100644 --- a/version +++ b/version @@ -1 +1 @@ -7.0.1 +7.0.2