Last active
October 21, 2019 11:21
-
-
Save J535D165/0147c9f54aa937773215e7c5aaf966ae to your computer and use it in GitHub Desktop.
Build a release of the latest software version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Give a new version number (without v prefix)" | |
read version_tag | |
# create git tag | |
git tag -a "v${version_tag}" -m "Version ${version_tag}" | |
git push origin --tags | |
# reader pdf from markdown README. | |
pandoc README.md -o README.pdf | |
# copy all files to the releases folder | |
mkdir -p releases | |
rsync -av --progress . releases/release_${version_tag} --exclude releases --exclude .git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment