Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Update the release procedure #19

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Dec 18, 2017

Based on code by @bastelfreak in voxpupuli/modulesync_config#397 (comment)

This should codify what we are doing in practice.


version = args[:version]
if ['major', 'minor', 'patch'].include?(version)
bump_task = "module:bump:#{version}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch will need special treatment: Bumping version from 2.0.1-rc0 to 2.0.2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about allowing users to specify a specific version as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be supported in the elsif clause

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

voxpupuli/puppet-blacksmith#62 should handle the bumping issue.

@ekohl
Copy link
Member Author

ekohl commented Dec 18, 2017

The additional commits move the changelog task from modulesync to this gem. It also updates docs and simplifies the travis_release.

end

Rake::Task[bump_task].invoke
Rake::Task['changelog'].invoke
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work. The future version is read when the Rakefile is loaded, then bumped at runtime but not re-read.

@ekohl ekohl changed the title Add a prepare_release [WIP] Update the release procedure Dec 18, 2017
@bastelfreak
Copy link
Member

ping @ekohl :) How should we proceed here?

@bastelfreak
Copy link
Member

@ekohl ping :)

@ekohl ekohl marked this pull request as draft April 30, 2020 13:32
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.

3 participants