Skip to content

DadoFlow Releasing a New Version

Paul Mansour edited this page Jun 6, 2020 · 2 revisions

To release a new version, run the ReleaseNewVersion function with a right argument specifying how the version should be incremented:

  ReleaseNewVersion 'patch'

The right argument may be 'major', 'minor', or 'patch' or specific version number. You can also provide an empty argument, which will default to 'patch'. Providing a specific version number is useful when porting legacy applications - to start them off at a specific point, and may be used to increment the version more by more than one unit.

This function will:

  1. Pull master from GitHub
  2. Create a release branch
  3. Increment the version
  4. Commit changes
  5. Generate release notes based on commit messages
  6. Build the package
  7. Build the application
  8. Run the OnRelease call back specified in the acre config file
  9. Merge the the release branch into the master
  10. Delete the release branch
  11. Tag the version
  12. Push to GitHub
  13. Draft a new GitHub release with release notes
  14. Upload all release artifacts