diff --git a/CMakeLists.txt b/CMakeLists.txt index bf538038..701108cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,8 +34,8 @@ project( LANGUAGES C ) # set this to "${PROJECT_VERSION}" on release -set(INSTALL_VERSION "${PROJECT_VERSION}") -#set(INSTALL_VERSION "unreleased") +#set(INSTALL_VERSION "${PROJECT_VERSION}") +set(INSTALL_VERSION "unreleased") set(H3_CORE_VERSION 4.1.0) set(H3_CORE_SHA256 ec99f1f5974846bde64f4513cf8d2ea1b8d172d2218ab41803bf6a63532272bc) diff --git a/h3/CMakeLists.txt b/h3/CMakeLists.txt index ecbd18c5..f6b5d378 100644 --- a/h3/CMakeLists.txt +++ b/h3/CMakeLists.txt @@ -74,6 +74,7 @@ PostgreSQL_add_extension(postgresql_h3 sql/updates/h3--4.1.1--4.1.2.sql sql/updates/h3--4.1.2--4.1.3.sql sql/updates/h3--4.1.3--4.1.4.sql + sql/updates/h3--4.1.4--unreleased.sql ) # configure diff --git a/h3/sql/updates/h3--4.1.4--unreleased.sql b/h3/sql/updates/h3--4.1.4--unreleased.sql new file mode 100644 index 00000000..5763858f --- /dev/null +++ b/h3/sql/updates/h3--4.1.4--unreleased.sql @@ -0,0 +1,18 @@ +/* + * Copyright 2024 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 diff --git a/h3_postgis/CMakeLists.txt b/h3_postgis/CMakeLists.txt index ffe8d020..9861a5fa 100644 --- a/h3_postgis/CMakeLists.txt +++ b/h3_postgis/CMakeLists.txt @@ -36,6 +36,7 @@ PostgreSQL_add_extension(postgresql_h3_postgis sql/updates/h3_postgis--4.1.1--4.1.2.sql sql/updates/h3_postgis--4.1.2--4.1.3.sql sql/updates/h3_postgis--4.1.3--4.1.4.sql + sql/updates/h3_postgis--4.1.4--unreleased.sql ) # link diff --git a/h3_postgis/sql/updates/h3_postgis--4.1.4--unreleased.sql b/h3_postgis/sql/updates/h3_postgis--4.1.4--unreleased.sql new file mode 100644 index 00000000..99ca965b --- /dev/null +++ b/h3_postgis/sql/updates/h3_postgis--4.1.4--unreleased.sql @@ -0,0 +1,18 @@ +/* + * Copyright 2024 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_postgis UPDATE TO 'unreleased'" to load this file. \quit