Skip to content

Commit

Permalink
Withdraw 1.3.0, and the version number will follow the upstream.
Browse files Browse the repository at this point in the history
VERSION file is still used by scripts.
  • Loading branch information
yylyyl committed Feb 26, 2023
1 parent 3fbf3ed commit 449a01d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VERSION=1.2.0
REVISION=1~bpo+1
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prometheus-podman3-exporter (1.3.0-1) unstable; urgency=medium
prometheus-podman3-exporter (1.2.0-1~bpo+1) unstable; urgency=medium

* Debianize the package
* Remove unnecessary files
Expand Down
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ include /usr/share/dpkg/pkg-info.mk

DH_GOPKG = github.com/yylyyl/prometheus-podman3-exporter
BUILDDIR := $(CURDIR)/build
REVISION := $(shell echo '$(DEB_VERSION)' | sed -E 's/^([^-]+-)+//')

BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)
BUILDTAGS :=
BUILDFLAGS = -tags "$(BUILDTAGS)" -ldflags \
" -X $(DH_GOPKG)/cmd.buildVersion=$(DEB_VERSION_UPSTREAM)\
-X $(DH_GOPKG)/cmd.buildRevision=$(DEB_VERSION)\
-X $(DH_GOPKG)/cmd.buildRevision=$(REVISION)\
-X $(DH_GOPKG)/cmd.buildBranch=$(BRANCH)"

%:
Expand Down

0 comments on commit 449a01d

Please sign in to comment.