diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18fefdbb..fe9f507a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: goreleaser +name: release on: push: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9394dd86..f082b53c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 1.6.20 (2024-07-08) + ## 1.6.19 (2024-07-08) - perf: startup time reduce ([#705](https://github.com/evilmartians/lefthook/pull/705)) by @dalisoft diff --git a/packaging/pack.rb b/packaging/pack.rb index cc6dc22a..97e78860 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -73,7 +73,10 @@ def publish puts "Publishing lefthook npm..." cd(File.join(__dir__, "npm")) Dir["lefthook*"].each do |package| - system("npm publish --access public #{package}", exception: true) + puts "publishing #{package}" + cd(File.join(__dir__, "npm", package)) + system("npm publish --access public", exception: true) + cd(File.join(__dir__, "npm")) end puts "Publishing @evilmartians/lefthook npm..."