File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
cask "chilikeys" do
2
2
version "2.0.0"
3
- sha256 "77a7db193d12a6d50816559702be0a8daeeb12111c37f3e17164f0918c2000cd "
3
+ sha256 ""
4
4
5
5
url "https://github.com/sergchil/chilikeys/releases/download/v#{ version } /ChiliKeys-v#{ version } .zip"
6
6
name "ChiliKeys"
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ Armenian and Russian phonetic keyboard layout (KDWin style) for macOS.
14
14
### Homebrew Cask
15
15
16
16
``` shell
17
- brew tap sergchil/chilikeys
17
+ brew tap sergchil/chilikeys https://github.com/sergchil/chilikeys
18
18
brew install chilikeys
19
19
```
20
20
21
21
To uninstall ** ChiliKeys** , run:
22
22
23
23
``` shell
24
24
brew uninstall chilikeys
25
- brew untap serchil /chilikeys
25
+ brew untap sergchil/chilikeys https://github.com/sergchil /chilikeys
26
26
```
Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ echo "Latest tag: $latest_tag"
9
9
# Ask the user for the new tag
10
10
read -p " Enter the new tag name: " new_tag
11
11
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
+
12
22
# Add the new tag
13
23
git tag " $new_tag "
14
24
You can’t perform that action at this time.
0 commit comments