8 Commits

Author SHA1 Message Date
ProtoTess d990aee323 chore: prepare v1.1.3 release
- Draft release workflow fix
- RTSPeek library integration
- golangci-lint v2 migration
- All code quality improvements
2025-11-18 18:43:00 +00:00
ProtoTess 74a3cb262f Merge pull request #34 from 0x524a/fix-draft-release
Fix draft release
2025-11-18 13:41:58 -05:00
ProtoTess 349fd20bc6 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.
2025-11-18 18:37:54 +00:00
ProtoTess 34eb35a3fd 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
2025-11-18 18:34:36 +00:00
ProtoTess 572135d37c Merge pull request #32 from 0x524a/fix-release-workflow
Fix release workflow asset upload race condition
2025-11-18 13:28:15 -05:00
ProtoTess 0cb6fb8dd8 fix: upgrade to softprops/action-gh-release@v2
- Fixes asset upload race condition
- v2 handles concurrent uploads better
- Added fail_on_unmatched_files and make_latest flags
2025-11-18 18:25:19 +00:00
ProtoTess 6a61ec26cf Merge pull request #31 from 0x524a/release-v1.1.1
Release v1.1.1
2025-11-18 13:20:27 -05:00
ProtoTess 1feec67174 chore: prepare v1.1.1 release
- RTSPeek library integration for stream inspection
- golangci-lint v2 migration
- Fixed all linting errors (SA1006, errcheck, unused code)
- Enhanced CI/CD with proper directory exclusions
2025-11-18 18:17:53 +00:00
2 changed files with 49 additions and 3 deletions
+4 -2
View File
@@ -177,12 +177,14 @@ jobs:
fi
- name: Create Release
uses: softprops/action-gh-release@v1
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
make_latest: true
body: |
## Release ${{ steps.version.outputs.VERSION }}
+45 -1
View File
@@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.1.3] - 2025-11-18
### Changed
- **Release Workflow**: Create releases as draft initially
- Fixes "Cannot upload assets to an immutable release" error
- Releases must be manually published after assets upload
- Prevents race condition where release publishes before all assets finish uploading
## [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
- **RTSPeek Library Integration**: RTSP stream inspection using `github.com/0x524A/rtspeek`
- Replaced command-line `ffprobe` execution with library-based approach
- Enhanced stream inspection with codec, resolution, and framerate detection
- 5-second timeout for stream DESCRIBE operations
- TCP fallback for basic connectivity checks
- See `cmd/onvif-cli/main.go` for implementation
### Changed
- **Code Quality Improvements**: Fixed all linting errors
- Removed unused `generateDemoASCII()` function
- Fixed dynamic format strings (SA1006 errors)
- Added proper error handling for Close() operations
- Migrated to golangci-lint v2 configuration
- CI/CD pipeline excludes utility tools and examples from linting
- **golangci-lint v2**: Updated configuration and GitHub Actions workflow
- Created `.golangci.yml` with v2 schema
- Updated CI to use golangci-lint-action@v8 with v2.2
- Scoped linting to main packages only
## [1.1.0] - 2025-11-18
### Added
- **Simplified Endpoint API**: `NewClient()` now accepts multiple endpoint formats
- Simple IP address: `"192.168.1.100"`
@@ -75,4 +115,8 @@ 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/v0.1.0...HEAD
[Unreleased]: https://github.com/0x524a/onvif-go/compare/v1.1.3...HEAD
[1.1.3]: https://github.com/0x524a/onvif-go/compare/v1.1.2...v1.1.3
[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