Unitech / pm2-deploy

Deploy part of PM2
http://pm2.keymetrics.io/docs/usage/deployment/
MIT License
178 stars 72 forks source link

better git tag deployment support #178

Closed ldarren closed 4 years ago

ldarren commented 5 years ago

changes:

old command

pm2 deploy config.json production ref tags/prod-v1.0.0

# resulting a new branch named "prod-v1.0.0" on production server, which causing git warning about same tag and branch name

new command

pm2 deploy config.json production ref tags/prod-v1.0.0 v1.0.0

# resulting a new branch named "v1.0.0" on production server, no more git warning