[Pkg-mozext-commits] [requestpolicy] 06/50: [release] version number: add ".pre" to suffix

David Prévot taffit at moszumanska.debian.org
Mon Jun 27 12:50:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit cf5ba8f70b964a0b153022a4273e23e7d20c4ac3
Author: Martin Kimmerle <dev at 256k.de>
Date:   Mon Feb 29 21:58:04 2016 +0100

    [release] version number: add ".pre" to suffix
    
    Required for AMO's beta channel. RegExp is:
    "(a|alpha|b|beta|pre|rc)\d*$"
    
    See
    https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Maintenance
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a78f56e..a19dc09 100644
--- a/Makefile
+++ b/Makefile
@@ -209,7 +209,7 @@ $(build__copy_files) : $(current_build_dir)/% : $(source_dir)/%
 	  		echo 'install.rdf: making the version unique !' ; \
 				rev_count=`$(GIT) rev-list HEAD | wc --lines` ; \
 				commit_sha=`$(GIT) rev-parse --short HEAD` ; \
-				unique_suffix=.$${rev_count}.r$${commit_sha} ; \
+				unique_suffix=.$${rev_count}.r$${commit_sha}.pre ; \
 	  		sed -i 's,\(</em:version>\),'$${unique_suffix}'\1,' $@ ; \
 		fi ; \
 	fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list