From 38d11ce3da6a6574c4db797d7e59b2adb51675fb Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 19 Apr 2023 16:07:03 +0100 Subject: [PATCH] ci: Make release CI search for NEXT.RELEASE instead --- bitcoin/src/blockdata/transaction.rs | 2 +- contrib/release.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 0465a3ed..d5058b24 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -987,7 +987,7 @@ impl Transaction { } /// Checks if this is a coinbase transaction. - #[deprecated(since = "0.0.0-NEXT_RELEASE", note = "use is_coinbase instead")] + #[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use is_coinbase instead")] pub fn is_coin_base(&self) -> bool { self.is_coinbase() } diff --git a/contrib/release.sh b/contrib/release.sh index efb5c7eb..e732a8ee 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -12,9 +12,9 @@ main () { # Check if there is any mention of NEXT_RELEASE which means the # next version number should be filled in. - if grep -qr NEXT_RELEASE ./$crate; then + if grep -qr NEXT.RELEASE ./$crate; then echo Version number needs to be filled in following places: - grep -r NEXT_RELEASE ./$crate + grep -r NEXT.RELEASE ./$crate exit 1 fi