kopia lustrzana https://github.com/felHR85/UsbSerial
727 B
727 B
Releasing
- Change the
VERSION_NAMEvalue ingradle.propertiesto the version number to be released. - Update the
README.mdwith the new version. ./gradlew clean buildgit commit -am "Prepare for release X.Y.Z."(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"-m "Changelog message 1" - m "Changelog message 2" -m "Changelog message 3"git push && git push --tags
Note: To get the changelog messages from the commit history, issue
git log "$(git tag | tail -n2 | head -n1)..$(git tag | tail -n1)" --oneline --invert-grep --grep="Merge pull request" --grep="Prepare for release" | cut -d' ' -f2- | sed -E -e 's/^/-m "/' | sed -E -e 's/$/"/'