Skip to content

Commit 3aa900b

Browse files
committed
Minor adjastments
1 parent 72c5f8d commit 3aa900b

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

Cask/chilikeys.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cask "chilikeys" do
22
version "2.0.0"
3-
sha256 "77a7db193d12a6d50816559702be0a8daeeb12111c37f3e17164f0918c2000cd"
3+
sha256 ""
44

55
url "https://github.com/sergchil/chilikeys/releases/download/v#{version}/ChiliKeys-v#{version}.zip"
66
name "ChiliKeys"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Armenian and Russian phonetic keyboard layout (KDWin style) for macOS.
1414
### Homebrew Cask
1515

1616
```shell
17-
brew tap sergchil/chilikeys
17+
brew tap sergchil/chilikeys https://github.com/sergchil/chilikeys
1818
brew install chilikeys
1919
```
2020

2121
To uninstall **ChiliKeys**, run:
2222

2323
```shell
2424
brew uninstall chilikeys
25-
brew untap serchil/chilikeys
25+
brew untap sergchil/chilikeys https://github.com/sergchil/chilikeys
2626
```

tag_and_push.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ echo "Latest tag: $latest_tag"
99
# Ask the user for the new tag
1010
read -p "Enter the new tag name: " new_tag
1111

12+
# Extract version number without 'v' prefix
13+
version_number=$(echo "$new_tag" | sed 's/^v//')
14+
15+
# Update the cask file with the new version
16+
sed -i "" "s/version \".*\"/version \"$version_number\"/g" Cask/chilikeys.rb
17+
18+
# Commit the changes to the cask file
19+
git add Cask/chilikeys.rb
20+
git commit -m "Update cask version to $version_number"
21+
1222
# Add the new tag
1323
git tag "$new_tag"
1424

0 commit comments

Comments
 (0)