summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Barri2021-03-21 09:05:17 +1100
committerDavid Barri2021-03-21 09:05:17 +1100
commitcd9bb734691a9703f72755df73de00eb7059b882 (patch)
tree99c6b44bf2cae543d478908bed8088c37816ddd9
parent49392860c6693430f7d059023649b21208b34abd (diff)
downloadaur-cd9bb734691a9703f72755df73de00eb7059b882.tar.gz
Add test-upgrade; remove commit 49392860c6693430f7d059023649b21208b34abd
Author: David Barri <japgolly@gmail.com> Date: Sun Mar 21 08:57:38 2021 +1100 Upgrade to 0.7.2 diff --git a/.SRCINFO b/.SRCINFO index 55062a8..fcd7464 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,14 +1,14 @@ pkgbase = verthash-miner-bin pkgdesc = GPU miner for the Verthash algorithm and Vertcoin - pkgver = 0.7.1 + pkgver = 0.7.2 pkgrel = 1 url = https://github.com/CryptoGraphics/VerthashMiner arch = x86_64 license = GPL-3.0 provides = verthash-miner conflicts = verthash-miner - source = https://github.com/CryptoGraphics/VerthashMiner/releases/download/0.7.1/VerthashMiner-0.7.1-CUDA11-linux.tar.gz - sha256sums = 767591f9dd0b3e80de369980df3d1d88d1527f0ebf99f90de13946e928cccdb7 + source = https://github.com/CryptoGraphics/VerthashMiner/releases/download/0.7.2/VerthashMiner-0.7.2-CUDA11-linux.tar.gz + sha256sums = a7c3e6b0a7a937eb9e9d88de24a16a7b13f518d858fffd07694a21bc724d9a8c pkgname = verthash-miner-bin diff --git a/PKGBUILD b/PKGBUILD index 3b2f653..498020d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: David Barri <japgolly@gmail.com> pkgname=verthash-miner-bin -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 pkgdesc="GPU miner for the Verthash algorithm and Vertcoin" arch=('x86_64') url="https://github.com/CryptoGraphics/VerthashMiner" license=('GPL-3.0') source=("https://github.com/CryptoGraphics/VerthashMiner/releases/download/$pkgver/VerthashMiner-$pkgver-CUDA11-linux.tar.gz") -sha256sums=('767591f9dd0b3e80de369980df3d1d88d1527f0ebf99f90de13946e928cccdb7') +sha256sums=('a7c3e6b0a7a937eb9e9d88de24a16a7b13f518d858fffd07694a21bc724d9a8c') provides=('verthash-miner') conflicts=('verthash-miner')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 56e76c377a2..bd72f951eb6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: post clean upgrade versions auto-update
+.PHONY: auto-update clean post test-upgrade upgrade versions
CURRENT_VER := $(shell grep '^pkgver' PKGBUILD | sed 's/.*=//')
LATEST_VER := $(shell curl -s https://github.com/CryptoGraphics/VerthashMiner/releases/latest | perl -pe 's!.*/tag/v?([0-9].+?)".*!$$1!')
@@ -9,13 +9,15 @@ versions:
@echo "Latest version:"
@echo " $(LATEST_VER)"
-upgrade:
+test-upgrade:
perl -pi -e 's/^pkgver=.+/pkgver=$(LATEST_VER)/' PKGBUILD
bash -c 'perl -pi -e "s/^sha256sums=[^)]+\)/$$(makepkg -g)/" PKGBUILD'
- make post
+
+upgrade:
+ @make test-upgrade
+ @make post
git add .SRCINFO PKGBUILD
git commit -m "Upgrade to $(LATEST_VER)" .SRCINFO PKGBUILD
- git show
post:
makepkg --verifysource -f