Skip to content

add after-version-update-hook.default-args.source.sh - #362

Merged
robstoll merged 1 commit into
mainfrom
feature/after-version-update-hook
Oct 14, 2026
Merged

robstoll merged 1 commit into
mainfrom
feature/after-version-update-hook

Conversation

@robstoll

Copy link
Copy Markdown
Member

using update-version-common-steps.default-args.source.sh in prepare-files-next-dev-cycle-template.sh was smelly to begin with. Doesn't matter that we don't use it in many places (i.e. turn optional params into required params). Still better to define it in after-version-update-hook.default-args.source.sh

moreover:

  • introduce version-and-pattern.params.source.sh and co.
  • use forwarding arguments so that we can more easily add new arguments across files (as far as I remember we wanted to add branch to after-version-update-hook.params.source.sh -- don't remember the exact use case but I am sure it will turn up again once we use the release templates in more gradle/sbt based projects)

I confirm that I have read the Contributor Agreement v1.1, agree to be bound on them and confirm that my contribution is compliant.

@robstoll
robstoll force-pushed the feature/after-version-update-hook branch from f195c66 to ba69893 Compare October 14, 2026 06:14
using update-version-common-steps.default-args.source.sh in
prepare-files-next-dev-cycle-template.sh was smelly to begin with.
Doesn't matter that we don't use it in many places. Still better
to define it consistently
@robstoll
robstoll force-pushed the feature/after-version-update-hook branch from ba69893 to fc27191 Compare October 14, 2026 06:18
@robstoll
robstoll merged commit 78c99ba into main Oct 14, 2026
4 checks passed
@robstoll
robstoll deleted the feature/after-version-update-hook branch October 14, 2026 06:30
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