-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename neccessary words to siera-cli from siera (#251)
Signed-off-by: Moriarty <[email protected]>
- Loading branch information
1 parent
67ed265
commit 524b538
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Brew Release | |
on: | ||
workflow_run: | ||
workflows: ["build-and-release"] | ||
types: | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
|
@@ -21,8 +21,8 @@ jobs: | |
- name: Gather data and rewrite ruby file | ||
id: gather_data_and_rewrite | ||
run: | | ||
VERSION=$(curl -L --silent https://api.github.com/repos/animo/siera/releases | jq '.[-1]' | jq -r .tag_name) | ||
URLS=$(curl -L --silent https://api.github.com/repos/animo/siera/releases | jq -r '.[] .assets[].browser_download_url' | grep "apple") # two lines with 1 download url each | ||
VERSION=$(curl -L --silent https://api.github.com/repos/animo/siera-cli/releases | jq '.[-1]' | jq -r .tag_name) | ||
URLS=$(curl -L --silent https://api.github.com/repos/animo/siera-cli/releases | jq -r '.[] .assets[].browser_download_url' | grep "apple") # two lines with 1 download url each | ||
URL_ARM=$(echo $URLS | grep -m1 "arm" | awk '{ print $1 }') | ||
URL_X86=$(echo $URLS | grep -m1 "x86" | awk '{ print $2 }') | ||
SHA_ARM=$(curl -L --silent $URL_ARM | shasum -a 256 | awk '{ print $1 }') | ||
|
@@ -40,9 +40,9 @@ jobs: | |
env: | ||
API_TOKEN_GITHUB: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} | ||
with: | ||
source_file: './siera.rb' | ||
destination_repo: 'animo/homebrew-siera' | ||
destination_folder: 'Formula' | ||
user_email: '[email protected]' | ||
user_name: 'Animo-bot' | ||
commit_message: 'A new version of Siera has been released to homebrew' | ||
source_file: "./siera.rb" | ||
destination_repo: "animo/homebrew-siera" | ||
destination_folder: "Formula" | ||
user_email: "[email protected]" | ||
user_name: "Animo-bot" | ||
commit_message: "A new version of Siera has been released to homebrew" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters