Commit Graph

5 Commits

Author SHA1 Message Date
Jason Penilla
caf2960b6b fix(actions): populate release tag 2024-09-03 11:49:36 -07:00
Jason Penilla
cfc73390d8 Setup automated publishing to CF and Modrinth (#15)
* Configure mod-publish-plugin

* Configure actions to run mod-publish-plugin

To publish a release:
- Set the mod version to x.x.x(-beta.x) in gradle.properties and commit
- Create a git tag named vx.x.x(-beta.x) (note the v prefix)
- Push commit, push tag
- Manually create a (pre-)release for the tag on GitHub web ui. The release notes will be reused for modrinth and CF.

The release creation will trigger the workflow and publish to modrinth and CF.

The build script will check for when the version contains `-beta.` and mark it as a beta on modrinth and CF.

After publishing a release, it's good practice to bump the version and add -SNAPSHOT, i.e. after releasing 0.0.1, push a commit changing the version to 0.0.2-SNAPSHOT. This ensures people downloading action artifacts have correct version numbers.

This commit also updates gradle/actions/setup-gradle which removes the need for a separate wrapper validation action (it is included in setup-gradle v4)

* Set project IDs
2024-09-03 11:37:56 -07:00
Jason Penilla
efb75dbe5b fix jar path 2024-08-06 23:21:58 -07:00
Jason Penilla
d03938eaf7 Fix actions build 2024-05-26 11:31:13 -07:00
Jason Penilla
5ec8a635a7 Add actions workflow 2024-05-22 16:51:49 -07:00