Skip to content

Commit

Permalink
update version in control file
Browse files Browse the repository at this point in the history
also check that update extension works
  • Loading branch information
segasai committed Dec 12, 2023
1 parent 505ea6c commit 9210908
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
name: PG source setup
run: |
export CC=${{ matrix.compiler }}
wget https://ftp.postgresql.org/pub/source/v11.8/postgresql-11.8.tar.bz2
tar xfj postgresql-11.8.tar.bz2
mv postgresql-11.8 ../
cd ../postgresql-11.8/
wget https://ftp.postgresql.org/pub/source/v14.10/postgresql-14.10.tar.bz2
tar xfj postgresql-14.10.tar.bz2
mv postgresql-14.10 ../
cd ../postgresql-14.10/
if [[ ${{ matrix.COVERAGE }} == 1 ]] ; then ./configure --enable-coverage --prefix=$PWD/../pg_install/ ; else ./configure --prefix=$PWD/../pg_install/ ; fi
make install
../pg_install/bin/initdb -D ../pg_install/data
Expand All @@ -74,6 +74,12 @@ jobs:
run: |
if [[ ${{ matrix.APT }} == 0 ]] ; then export PATH=$PWD/../pg_install/bin/:$PATH ; fi
make test
- name: update_version
run: |
if [[ ${{ matrix.APT }} == 0 ]] ; then export PATH=$PWD/../pg_install/bin/:$PATH ; fi
createdb exttest
psql -c "create extension q3c version '2.0.0'" exttest
psql -c "alter extension q3c update to '2.0.1'" exttest
- if: ${{ matrix.COVERAGE == '1' }}
name: Coverall
run: |
Expand Down
2 changes: 1 addition & 1 deletion q3c.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment = 'q3c sky indexing plugin'
default_version = '2.0.0'
default_version = '2.0.1'
module_pathname = '$libdir/q3c'
relocatable = true

0 comments on commit 9210908

Please sign in to comment.