Skip to content

Commit

Permalink
set the version a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmx committed Sep 12, 2024
1 parent fc38c28 commit 1378dee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
EPOCHVER = 1:
RELVER = 3.4.0
DEBVER = 3+asl
DEBVER = 4+asl
PKGNAME = dahdi-linux
ifndef ${RELPLAT}
RELPLAT = deb$(shell lsb_release -rs 2> /dev/null)
Expand All @@ -13,6 +13,9 @@ deb:
wget -O $(PKGNAME)_$(RELVER).orig.tar.gz \
https://github.com/asterisk/dahdi-linux/releases/download/v$(RELVER)/$(PKGNAME)-$(RELVER).tar.gz && \
tar xvfz dahdi-linux_$(RELVER).orig.tar.gz && \
echo "$(RELVER)-$(DEBVER)" > dahdi-linux-$(RELVER)/.version && \
rm dahdi-linux_$(RELVER).orig.tar.gz && \
tar cvfz dahdi-linux_$(RELVER).orig.tar.gz dahdi-linux-$(RELVER) && \
cp -r dahdi-linux/debian dahdi-linux-$(RELVER) )
debchange --distribution stable --package $(PKGNAME) \
--newversion $(EPOCHVER)$(RELVER)-$(DEBVER).$(RELPLAT) \
Expand Down
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dahdi-linux (1:3.4.0-2+asl) unstable; urgency=medium
dahdi-linux (1:3.4.0-4+asl) unstable; urgency=medium

* Fix version string

-- Jason McCormick <[email protected]> Wed, 11 Sep 2024 19:24:30 -0400
-- Jason McCormick <[email protected]> Wed, 11 Sep 2024 20:23:16 -0400

dahdi-linux (1:3.4.0-1+asl) unstable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion debian/patches/version.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ dahdi-linux/.version 2023-07-29 01:14:37.259582331 +0300
@@ -0,0 +1 @@
+3.3.0+asl3
+3.4.0-4+asl

0 comments on commit 1378dee

Please sign in to comment.