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

Add bump:nodejs task #22

Merged
merged 4 commits into from
Apr 6, 2020
Merged

Add bump:nodejs task #22

merged 4 commits into from
Apr 6, 2020

Conversation

ybiquitous
Copy link
Owner

@ybiquitous ybiquitous commented Apr 6, 2020

This change also adds a Aufgaben::Bump::Base class where the common bumping is written.

Example:

require "aufgaben/bump/nodejs"
Aufgaben::Bump::Nodejs.new do |t|
  t.files << "Dockerfile.production" # defaults to ["Dockerfile"]
  t.version_files << "nodejs-version.txt" # defaults to [".node-version", ".nvmrc"]
end
  • .node-version file is supported by nodenv.
  • .nvmrc file is supported by nvm.

This change also adds a `Aufgaben::Bump::Base` class where the common bumping is written.
@ybiquitous ybiquitous merged commit 9f194ff into master Apr 6, 2020
@ybiquitous ybiquitous deleted the bump-nodejs branch April 6, 2020 17:31
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