Skip to content

Commit fff3b41

Browse files
committed
order files by name
1 parent 8db4282 commit fff3b41

7 files changed

+6
-4
lines changed

justfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ build:
2727
#!/usr/bin/env bash
2828
set -euxo pipefail
2929

30-
cat sql/dsl-drop.sql > release/cipherstash-encrypt-uninstall.sql
31-
grep -h '^DROP' sql/*.sql | tac >> release/cipherstash-encrypt-uninstall.sql
30+
mkdir -p release
31+
32+
cat sql/666-drop.sql > release/cipherstash-encrypt-uninstall.sql
33+
grep -h '^DROP' sql/0*-*.sql | tac >> release/cipherstash-encrypt-uninstall.sql
3234

3335
cat release/cipherstash-encrypt-uninstall.sql > release/cipherstash-encrypt.sql
34-
cat sql/dsl-ore.sql sql/dsl-core.sql sql/dsl-config-schema.sql sql/dsl-config-functions.sql sql/dsl-encryptindex.sql >> release/cipherstash-encrypt.sql
36+
cat sql/0*-*.sql >> release/cipherstash-encrypt.sql
3537

3638

3739
psql:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
DROP TABLE IF EXISTS cs_configuration_v1 CASCADE;
22
ALTER DOMAIN cs_configuration_data_v1 DROP CONSTRAINT IF EXISTS cs_configuration_data_v1_check;
3-
ALTER DOMAIN cs_encrypted_v1 DROP CONSTRAINT IF EXISTS cs_encrypted_v1_check;
3+
ALTER DOMAIN cs_encrypted_v1 DROP CONSTRAINT IF EXISTS cs_encrypted_v1_check;

0 commit comments

Comments
 (0)