Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/release-eql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ permissions:
contents: write

jobs:
verify-changelog:
runs-on: ubuntu-latest
name: Verify CHANGELOG entry
# Only real (non-prerelease) eql-* releases. Pre-releases keep their
# entries under [Unreleased] until the final release is cut.
if: ${{ github.event_name == 'release' && contains(github.event.release.tag_name, 'eql') && github.event.release.prerelease == false }}
timeout-minutes: 5

steps:
- uses: actions/checkout@v4

- name: CHANGELOG.md has a section for this release
env:
TAG: ${{ github.event.release.tag_name }}
run: |
version="${TAG#eql-}"
escaped="${version//./\\.}"
if ! grep -qE "^## \[${escaped}\]" CHANGELOG.md; then
echo "::error file=CHANGELOG.md::No '## [${version}]' section in CHANGELOG.md at tag ${TAG}. The release was cut without promoting [Unreleased] -> [${version}] first. See the 'Cutting a release' section of CLAUDE.md."
exit 1
fi
echo "Found '## [${version}]' section in CHANGELOG.md."

build-and-publish:
runs-on: ubuntu-latest
name: Build EQL
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Encrypt Query Language (EQL)

[![Test EQL](https://github.com/cipherstash/encrypt-query-language/actions/workflows/test-eql.yml/badge.svg?branch=main)](https://github.com/cipherstash/encrypt-query-language/actions/workflows/test-eql.yml)
[![Release EQL](https://github.com/cipherstash/encrypt-query-language/actions/workflows/release-eql.yml/badge.svg?branch=main)](https://github.com/cipherstash/encrypt-query-language/actions/workflows/release-eql.yml)
[![Release EQL](https://github.com/cipherstash/encrypt-query-language/actions/workflows/release-eql.yml/badge.svg?event=release)](https://github.com/cipherstash/encrypt-query-language/actions/workflows/release-eql.yml)

Encrypt Query Language (EQL) is a set of abstractions for transmitting, storing, and interacting with encrypted data and indexes in PostgreSQL.

Expand Down
Loading