From 34eb35a3fd2514845946521176275f4ee1876c4a Mon Sep 17 00:00:00 2001 From: ProtoTess <32490978+0x524A@users.noreply.github.com> Date: Tue, 18 Nov 2025 18:34:36 +0000 Subject: [PATCH 1/2] chore: prepare v1.1.2 release - Release workflow fixes with action-gh-release@v2 - RTSPeek library integration - golangci-lint v2 migration - All linting errors fixed --- CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aac93d..c09bc5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.2] - 2025-11-18 + +### Changed +- **Release Workflow**: Upgraded to `softprops/action-gh-release@v2` + - Fixes asset upload race condition in v1 + - Better handling of concurrent file uploads + - Added `fail_on_unmatched_files` and `make_latest` flags + ## [1.1.1] - 2025-11-18 ### Added @@ -99,6 +107,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Comprehensive documentation - README with usage guide -[Unreleased]: https://github.com/0x524a/onvif-go/compare/v1.1.1...HEAD +[Unreleased]: https://github.com/0x524a/onvif-go/compare/v1.1.2...HEAD +[1.1.2]: https://github.com/0x524a/onvif-go/compare/v1.1.1...v1.1.2 [1.1.1]: https://github.com/0x524a/onvif-go/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/0x524a/onvif-go/compare/v1.0.3...v1.1.0 From 349fd20bc6850b9737dfbcb4ec83e34830ba49ad Mon Sep 17 00:00:00 2001 From: ProtoTess <32490978+0x524A@users.noreply.github.com> Date: Tue, 18 Nov 2025 18:37:54 +0000 Subject: [PATCH 2/2] fix: create releases as draft to allow asset uploads The release must be created as draft initially, otherwise it's published immediately and becomes immutable before assets upload. Users can manually publish after assets are uploaded, or we can add a workflow_dispatch to publish programmatically. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6219596..12cb77f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -180,7 +180,7 @@ jobs: uses: softprops/action-gh-release@v2 with: files: all-releases/* - draft: false + draft: true prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-beta') || contains(github.ref, '-alpha') }} generate_release_notes: true fail_on_unmatched_files: true