Skip to content

Commit 38e5d3b

Browse files
committed
Bump PGXN release to 1.1.2
1 parent 92becb3 commit 38e5d3b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: META.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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]>"
@@ -21,7 +21,7 @@
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
},

Diff for: Makefile

+4-3
Original file line numberDiff line numberDiff 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

3334
dist:
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

0 commit comments

Comments
 (0)