Skip to content

Update release workflow to set gradle.properties version on manual dispatch#7528

Merged
karianna merged 1 commit intoPCGen:masterfrom
karianna:martijn-verburg/gh-action-release-process
Feb 26, 2026
Merged

Update release workflow to set gradle.properties version on manual dispatch#7528
karianna merged 1 commit intoPCGen:masterfrom
karianna:martijn-verburg/gh-action-release-process

Conversation

@karianna
Copy link
Contributor

When the release workflow is triggered manually via workflow_dispatch, the gradle.properties version is now updated to match the entered tag name (with the v prefix stripped).

This runs in both jobs:

  • create_release: before the tag/version validation step, so it passes cleanly
  • build_release: after checkout and before the build, so Gradle and the PCGenProp.properties update both pick up the correct version

Only activates on manual dispatch — tag-push releases are unaffected.

…spatch

When the release workflow is triggered manually via workflow_dispatch,
the gradle.properties version is now updated to match the entered tag
name (with the v prefix stripped). This runs before validation in the
create_release job and before the build in the build_release job.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@karianna karianna merged commit 41eb65c into PCGen:master Feb 26, 2026
0 of 2 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.

1 participant