Skip to content

Commit

Permalink
chore: use Ruby script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jun 25, 2024
1 parent 3206901 commit b8b6efd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 55 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
EOF
chmod 0600 ~/.gem/credentials
cd packaging/
make prepare
make publish
ruby pack.rb prepare
ruby pack.rb publish
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ lint: bin/golangci-lint
version:
@read -p "New version: " version
sed -i "s/const version = .*/const version = \"$$version\"/" internal/version/version.go
sed -i "s/VERSION := .*/VERSION := $$version/" packaging/Makefile
sed -i "s/VERSION = .*/VERSION = \"$$version\"/" packaging/pack.rb
sed -i "s/lefthook-plugin.git\", exact: \".*\"/lefthook-plugin.git\", exact: \"$$version\"/" docs/install.md
ruby packaging/pack.rb clean set_version
Expand Down
52 changes: 0 additions & 52 deletions packaging/Makefile

This file was deleted.

0 comments on commit b8b6efd

Please sign in to comment.