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

Ant Build system and project restructure #97

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Narimm
Copy link

@Narimm Narimm commented Jun 5, 2023

replaces closed pull request #91 - includes all changes from that PR.

Refactor the base project into a src tree
Create ant build system that produces a distribution zip and json file for updates
Migrate plugin-update-checker to git submodule
Update plugin-update-checker to V5

Create ant build system
Migrate plugin-update-checker to git submodule
Update plugin-update-checker to V5

**todo remove PUC build deps from distribution zip**
Update build.xml to streamline build
Update package json version
Correct CHANGELOG to 5.6.2 version (updated at release)
…nless it is declared on command line the release fails.
@Narimm
Copy link
Author

Narimm commented Jun 6, 2023

This is finally stable -

How it works:

On each push github actions will trigger a build using the ant build and publish the build files - these are beta versions

When a build is tagged - gh actions will trigger the release build - which will create a draft release for review and manual publishing.

The gh builds will not perform any commit or tagging themselves

The build file includes a release process which you run locally. Then push the resultant tags and branches. This triggers the above actions and drafts the release. To just do a local build
Run

ant default

To trigger a release run

ant -Dversion.next=<next.version> -Drelease=true release

A release can also be dry run - which doesnt commit or tag

ant -Dversion.next=<next.version> -DdryRun=true -Drelease=true release

@Narimm Narimm mentioned this pull request Jun 7, 2023
…lify)

Add new js file to update package.json version on release
@michelve michelve closed this Oct 29, 2024
@michelve michelve reopened this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants