Skip to content

Instantly share code, notes, and snippets.

@tbranyen
Created April 18, 2014 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbranyen/11023517 to your computer and use it in GitHub Desktop.
Save tbranyen/11023517 to your computer and use it in GitHub Desktop.
Release.sh
# Build files.
grunt # npm run build / etc.
# Add specific files.
git add dist/
# Commit release.
git commit -m "Release ?.?.?."
# Tag the release.
git tag ?.?.?
# Reset back.
git reset HEAD~1
# Push release to GitHub.
git push origin ?.?.?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment