Skip to content

Commit

Permalink
fix: update version in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Oct 16, 2024
1 parent 322ff3f commit 8b50078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/pack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def clean
puts "Cleaning... "
rm(Dir["npm/**/README.md"])
rm(Dir["npm/**/lefthook*"].filter(&File.method(:file?)))
system("git clean -fdX npm-installer/ npm-bundled/ npm-bundled/bin/ rubygems/libexec/ rubygems/pkg/", exception: true)
system("git clean -fdX npm-installer/ npm-bundled/ npm-bundled/bin/ rubygems/libexec/ rubygems/pkg/ pypi pypi/lefthook/", exception: true)
puts "done"
end

Expand All @@ -37,6 +37,7 @@ def set_version

replace_in_file("npm/lefthook/package.json", /"(lefthook-.+)": "[\d.]+"/, %{"\\1": "#{VERSION}"})
replace_in_file("rubygems/lefthook.gemspec", /(spec\.version\s+= ).*/, %{\\1"#{VERSION}"})
replace_in_file("pypi/setup.py", /(version+=).*/, %{\\1'#{VERSION}',})
end

def put_readme
Expand Down
Empty file.

0 comments on commit 8b50078

Please sign in to comment.