Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native distribution and snapshot builds #21

Open
2 of 4 tasks
lewismorgan opened this issue Dec 11, 2018 · 2 comments
Open
2 of 4 tasks

Native distribution and snapshot builds #21

lewismorgan opened this issue Dec 11, 2018 · 2 comments
Assignees
Milestone

Comments

@lewismorgan
Copy link
Owner

lewismorgan commented Dec 11, 2018

Setup gradle for snapshot builds and native distribution builds.

Most work for this is already complete now by utilizing the application plugin through gradle. Distribution builds are created using the gradle task 'assembleDist'. Will need to create a custom task for each individual platform for native support since the JavaFX application plugin wasn't really necessary.

The distribution currently creates binaries in the bin/* folder as windows batch file and a unix script.

  • Native system distributions for MacOS and Windows
  • UNIX distributions
  • Use snapshot version for preview versions
  • Changelogs
@lewismorgan lewismorgan added this to the 2.0 milestone Dec 13, 2018
@lewismorgan
Copy link
Owner Author

lewismorgan commented Dec 13, 2018

Most work for this is already complete now by utilizing the application plugin through gradle. Distribution builds are created using the gradle task 'assembleDist'. Will need to create a custom task for each individual platform for native support since the JavaFX application plugin wasn't really necessary.

The distribution currently creates binaries in the bin/* folder as windows batch file and a unix script.

In the end, the ultimate goal of all of this is to make it easier programatically to allow users to opt-in for snapshot builds once an auto-updater is created.

@lewismorgan lewismorgan self-assigned this Dec 13, 2018
@lewismorgan lewismorgan changed the title Snapshot Builds Native distribution and snapshot builds Dec 13, 2018
@lewismorgan
Copy link
Owner Author

lewismorgan commented Dec 20, 2018

Commit 4fe054f now contains full support for versioning using Nebula Release. CI should be added in future to verify successful devSnapshot builds during a PR to develop.

Versions tagged, prefixed with vMajor.minor.patch(-rc.x)

Workflow for a major update:

  1. Create new branch from develop - major.x
  2. Push & add features/etc
  3. Merge into develop only when rc ready (rc ready = new features ready and/or existing features work)
  4. Push & add features/etc
  5. Create pre-release on GitHub, tag vMajor.0.0-rc.1
  6. gradle candidate
  7. Add distributed binaries to GitHub along with changelog of completed features
  8. Push & add features/etc
  9. gradle final
  10. Create release on GitHub, tag vMajor.0.0
  11. gradle -Prelease.useLatestTag=true final
  12. Add distributed binaries to GitHub along with changelog of completed features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant