fix: skip tags for now

This commit is contained in:
Mikeal Rogers 2019-02-01 02:58:22 +00:00
parent c617dee618
commit ded9a5da09
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,4 @@
FROM node:10-slim FROM node:10-slim
FROM mikeal/dev:latest
LABEL version="1.0.0" LABEL version="1.0.0"
LABEL repository="http://github.com/mikeal/merge-release" LABEL repository="http://github.com/mikeal/merge-release"

3
cli.js
View File

@ -28,7 +28,8 @@ process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-v
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString() let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
console.log(newVersion) console.log(newVersion)
process.stdout.write(execSync(`npm publish --access=public`)) process.stdout.write(execSync(`npm publish --access=public`))
/*
process.stdout.write(execSync(`git tag -a ${newVersion} -m "Created by merge-release.\n\n##Changelog:\n${messages.join('\n')}"`)) process.stdout.write(execSync(`git tag -a ${newVersion} -m "Created by merge-release.\n\n##Changelog:\n${messages.join('\n')}"`))
process.stdout.write(execSync(`git push --tags`)) process.stdout.write(execSync(`git push --tags`))
*/
// npm version minor && npm publish --access=public && git push --tags // npm version minor && npm publish --access=public && git push --tags