Skip to content

Revert "Generate EQL uninstall " #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2024
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
5 changes: 2 additions & 3 deletions .github/workflows/release-eql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ jobs:
- name: Build EQL release
run: |
just build
mv release/cipherstash-encrypt-dsl.sql release/cipherstash-eql.sql

- name: Publish EQL release artifacts
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
release/cipherstash-eql.sql
release/cipherstash-eql-uninstall.sql
files: release/cipherstash-eql.sql
8 changes: 1 addition & 7 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ build:
#!/usr/bin/env bash
set -euxo pipefail

mkdir -p release

cat sql/666-drop.sql > release/cipherstash-encrypt-uninstall.sql
grep -h '^DROP' sql/0*-*.sql | tac >> release/cipherstash-encrypt-uninstall.sql

cat release/cipherstash-encrypt-uninstall.sql > release/cipherstash-encrypt.sql
cat sql/0*-*.sql >> release/cipherstash-encrypt.sql
cat sql/database-extensions/postgresql/install.sql sql/dsl-core.sql sql/dsl-config-schema.sql sql/dsl-config-functions.sql sql/dsl-encryptindex.sql > release/cipherstash-encrypt-dsl.sql


psql:
Expand Down
Loading