File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " pg_wait_sampling" ,
3
3
"abstract" : " Sampling based statistics of wait events" ,
4
4
"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 " ,
6
6
"maintainer" : [
7
7
" Alexander Korotkov <[email protected] >" ,
8
8
" Ildus Kurbangaliev <[email protected] >"
21
21
"pg_wait_sampling" : {
22
22
"file" : " pg_wait_sampling--1.1.sql" ,
23
23
"docfile" : " README.md" ,
24
- "version" : " 1.1.1 " ,
24
+ "version" : " 1.1.2 " ,
25
25
"abstract" : " Sampling based statistics of wait events"
26
26
}
27
27
},
Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ $(EXTENSION)--$(EXTVERSION).sql: setup.sql
28
28
cat $^ > $@
29
29
30
30
# 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
32
33
33
34
dist :
34
35
mkdir -p dist
35
36
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