diff --git a/.gitignore b/.gitignore index 5bb098e9..5d98dc16 100644 --- a/.gitignore +++ b/.gitignore @@ -8,12 +8,12 @@ h3/test/regression.* h3/test/results # Generated -h3--*.sql -h3/src/include/extension.h -h3/test/expected/ci-*.out -h3/test/sql/ci-*.sql -libh3-*/ -h3-*.zip +/h3--*.sql +/h3/src/include/extension.h +/h3/test/expected/ci-*.out +/h3/test/sql/ci-*.sql +/libh3-*/ +/h3-*.zip *.BAK # IDEs diff --git a/META.json b/META.json index 2368b04f..6cf928b2 100644 --- a/META.json +++ b/META.json @@ -2,15 +2,15 @@ "name": "h3", "abstract": "PostgreSQL bindings for H3", "description": "PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system.", - "version": "3.7.1", + "version": "unreleased", "maintainer": "Bytes & Brains ", "license": "apache_2_0", "provides": { "h3": { "abstract": "PostgreSQL bindings for H3", - "file": "sql/h3--3.7.1.sql", + "file": "sql/h3--unreleased.sql", "docfile": "README.md", - "version": "3.7.1" + "version": "unreleased" } }, "resources": { diff --git a/h3.control b/h3.control index 55aa7be4..83012507 100644 --- a/h3.control +++ b/h3.control @@ -1,4 +1,4 @@ comment = 'H3 bindings for PostgreSQL' -default_version = '3.7.1' +default_version = 'unreleased' relocatable = true requires = 'postgis' diff --git a/h3/sql/updates/h3--3.7.0--3.7.1.sql b/h3/sql/updates/h3--3.7.0--3.7.1.sql index 58bae2d6..6e1df455 100644 --- a/h3/sql/updates/h3--3.7.0--3.7.1.sql +++ b/h3/sql/updates/h3--3.7.0--3.7.1.sql @@ -15,7 +15,7 @@ */ -- complain if script is sourced in psql, rather than via CREATE EXTENSION -\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit +\echo Use "ALTER EXTENSION h3 UPDATE TO '3.7.1'" to load this file. \quit COMMENT ON OPERATOR && (h3index, h3index) IS 'Returns true if the two H3 indexes intersect'; diff --git a/h3/sql/updates/h3--3.7.1--unreleased.sql b/h3/sql/updates/h3--3.7.1--unreleased.sql new file mode 100644 index 00000000..ddf9e131 --- /dev/null +++ b/h3/sql/updates/h3--3.7.1--unreleased.sql @@ -0,0 +1,18 @@ +/* + * Copyright 2021 Bytes & Brains + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +-- complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit