Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

ci(github): awk rule

johaven9825ca42851a
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8f2b2da6..75dd9fd2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -26,8 +26,8 @@ jobs:
id: changelog
run: |
VERSION=${GITHUB_REF#refs/tags/v}
- awk -v ver="## $VERSION" '
- $0 ~ ver { capture=1; next }
+ awk -v ver="$VERSION" '
+ $0 ~ "^## \\[" ver "\\]" { capture=1; next }
capture && /^## / { exit }
capture { print }
' CHANGELOG.md > latest-changelog.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c5a6e8c9..0a595a47 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,5 @@
-## 1.1.0 (2025-07-19)
+## [1.1.0](https://github.com/Sync-in/server/compare/58a0124d40d59fc611656efb77af9ca4d5dcf52c...v1.1.0) (2025-07-19)
### Features