File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22 "name" : " pg_wait_sampling" ,
33 "abstract" : " Sampling based statistics of wait events" ,
44 "description" : " pg_wait_sampling provides functions for detailed per backend and per query statistics about PostgreSQL wait events" ,
5- "version" : " 1.1.1 " ,
5+ "version" : " 1.1.2 " ,
66 "maintainer" : [
77 " Alexander Korotkov <[email protected] >" ,
88 " Ildus Kurbangaliev <[email protected] >" 2121 "pg_wait_sampling" : {
2222 "file" : " pg_wait_sampling--1.1.sql" ,
2323 "docfile" : " README.md" ,
24- "version" : " 1.1.1 " ,
24+ "version" : " 1.1.2 " ,
2525 "abstract" : " Sampling based statistics of wait events"
2626 }
2727 },
Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ $(EXTENSION)--$(EXTVERSION).sql: setup.sql
2828 cat $^ > $@
2929
3030# Prepare the package for PGXN submission
31- package : dist dist/$(EXTENSION ) -$(EXTVERSION ) .zip
31+ DISTVERSION := $(shell git tag -l | tail -n 1 | cut -d 'v' -f 2)
32+ package : dist dist/$(EXTENSION ) -$(DISTVERSION ) .zip
3233
3334dist :
3435 mkdir -p dist
3536
36- dist/$(EXTENSION ) -$(EXTVERSION ) .zip :
37- git archive --format zip --prefix=$(EXTENSION ) -$(EXTVERSION ) / --output $@ master
37+ dist/$(EXTENSION ) -$(DISTVERSION ) .zip :
38+ git archive --format zip --prefix=$(EXTENSION ) -$(DISTVERSION ) / --output $@ HEAD
You can’t perform that action at this time.
0 commit comments