Skip to content

Automate releasing github artifacts - #122

Merged
lucianbc merged 4 commits into
mainfrom
lucianbc/publish-snapshot-release-from-version-txt
Dec 4, 2026
Merged

lucianbc merged 4 commits into
mainfrom
lucianbc/publish-snapshot-release-from-version-txt

Conversation

@lucianbc

@lucianbc lucianbc commented Dec 4, 2026

Copy link
Copy Markdown
Member

Release the memory footprint and validator jars on github artifacts automatically when bumping the version in a newly introduced version.txt file, instead of cutting releases manually.

Declare the java library version in the parent build.gradle file.

- Declare org.jetbrains.kotlin.jvm (2.1.20, apply false) in play-validations/build.gradle
  and remove the hardcoded version from play-validations/memory-footprint/build.gradle.
- Read library version from -PpublishVersion or memory-footprint/version.txt (defaulting
  to 1.8.0-SNAPSHOT) instead of hardcoding 1.7.0.
- Update .github/workflows/publish-libraries.yml to always publish the snapshot version
  on pushes to main, and conditionally publish the release version and trigger
  gradle-publish-base.yml when release in version.txt changes.
@lucianbc
lucianbc merged commit 84fdc88 into main Dec 4, 2026
10 checks passed
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