https://github.com/felHR85/UsbSerial
Raw File
Tip revision: 7ad6c9f6880e93a29498e479d3e871d5b03d188b authored by green-green-avk on 29 April 2023, 01:35:06 UTC
Merge pull request #334 from green-green-avk/build-env-update
Tip revision: 7ad6c9f
RELEASING.md
Releasing
========

 1. Change the `VERSION_NAME` value in `gradle.properties` to the version number to be released.
 2. Update the `README.md` with the new version and update `CHANGELOG.md` 
 3. `./gradlew clean build`
 4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
 5. `git tag -a X.Y.Z -m "Version X.Y.Z"` `-m "Changelog message 1"` `-m "Changelog message 2"` `-m "Changelog message 3"`
 6. `git push && git push --tags`

 *Note:* To get the changelog messages from the commit history, issue

 ```shell
 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/$/"/'
 ```

back to top