Skip to content

Change default behaviour to not create release commit#16

Merged
william-lee-epigenesys merged 17 commits into
tasks/gem-cleanupfrom
features/no-release-commit
Jun 12, 2026
Merged

Change default behaviour to not create release commit#16
william-lee-epigenesys merged 17 commits into
tasks/gem-cleanupfrom
features/no-release-commit

Conversation

@william-lee-epigenesys

Copy link
Copy Markdown
Contributor
  • Tag current commit with new release when using release command by default
  • Do not create release commit by default
  • Do not update config/version.rb by default
  • Add EpiDeploy.create_release_commit option, default false to revert to the previous release behaviour
  • Warn if config/version.rb exists to prompt deletion
  • Allow creating a release with a dirty working tree or index using --allow-dirty flag

@william-lee-epigenesys william-lee-epigenesys self-assigned this Jun 5, 2026
@william-lee-epigenesys william-lee-epigenesys changed the base branch from projects/release-changes to tasks/gem-cleanup June 5, 2026 14:49
@william-lee-epigenesys william-lee-epigenesys marked this pull request as ready for review June 10, 2026 09:27
@ClearCarbon

Copy link
Copy Markdown
Contributor

in lib/capistrano/tasks/branches.rb ensure that the error message "Cannot determine commit to deploy as BRANCH environment variable is not set and LATEST_RELEASE_TAG constant in version.rb could not be found" is adjusted to take into account the new behaviour

Comment thread lib/epi_deploy/release.rb Outdated
Comment thread lib/epi_deploy/release.rb Outdated
Comment thread lib/epi_deploy/release.rb Outdated
Comment thread spec/features/release_spec.rb Outdated
Comment thread spec/features/release_spec.rb Outdated
Comment thread spec/lib/epi_deploy/release_spec.rb Outdated
Comment thread spec/lib/epi_deploy/release_spec.rb
Comment thread spec/lib/epi_deploy/release_spec.rb Outdated
Comment thread README.md Outdated
@william-lee-epigenesys william-lee-epigenesys merged commit 9f5eed5 into tasks/gem-cleanup Jun 12, 2026
4 of 5 checks passed
@william-lee-epigenesys william-lee-epigenesys deleted the features/no-release-commit branch June 24, 2026 08: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.

2 participants