Skip to content

Instantly share code, notes, and snippets.

@Bat-Chat
Created July 30, 2016 22:26
Show Gist options
  • Save Bat-Chat/88a7ba0761aaf9054b9ef3bf09823b07 to your computer and use it in GitHub Desktop.
Save Bat-Chat/88a7ba0761aaf9054b9ef3bf09823b07 to your computer and use it in GitHub Desktop.
Add tag and push it to stage
git fetch --tags
git tag
git tag -a v1.0.52 -m 'Commit description'
git push origin v1.0.52
then on stage repository:
git branch stage
git pull origin stage
then change composer.json (set new version for package)
git commit -a -m 'Commit description'
git push origin stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment