If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
${AnsiColor.BLUE}######################################################################################################################## | |
${AnsiColor.BLUE} ################################################################################################################## | |
${AnsiColor.BLUE} ############################################################################################################ | |
${AnsiColor.BLUE} ###################################################################################################### | |
${AnsiColor.RED} _ _ _______ _ _____ _ _ _ | |
${AnsiColor.RED} | \ | | |__ __| | | / ____| | | (_) | |
${AnsiColor.RED} | \| | ___ _ __ ___ ___ __ _ _ __ | | __ _| | ___ | (___ | |_ _ _ __| |_ ___ ___ | |
${AnsiColor.RED} | . ` |/ _ \ '_ ` _ \ / _ \/ _` | '_ \ | |/ _` | |/ _ \ \___ \| __| | | |/ _` | |/ _ \/ __| |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
def readVersion() { | |
def versionFile = new File(project.rootDir, 'version.properties') | |
def version = new Properties() | |
def stream | |
try { | |
stream = new FileInputStream(versionFile) | |
version.load(stream) | |
}catch (FileNotFoundException ignore) { | |
}finally { |