Skip to content

Commit

Permalink
MOD:add version
Browse files Browse the repository at this point in the history
  • Loading branch information
wswenyue committed Mar 15, 2024
1 parent 1028a31 commit 59dc9ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/data/aklog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Aklog < Formula
homepage "https://github.com/wswenyue/aklog"
url "#_url_#"
sha256 "#_sha256_#"
version '#_version_#'


def install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "> sha256: ${sha256}" >> $GITHUB_STEP_SUMMARY
rm -rf ./aklog.tar.gz
en_url=`echo $url |sed 's#\/#\\\/#g'`
sed -e "s/#_url_#/${en_url}/g; s/#_sha256_#/${sha256}/g" .github/data/aklog.rb > formula.rb
sed -e "s/#_version_#/${NEW_VERSION}/g; s/#_url_#/${en_url}/g; s/#_sha256_#/${sha256}/g" .github/data/aklog.rb > formula.rb
echo "- :arrow_double_up: upload formula file ..." >> $GITHUB_STEP_SUMMARY
- name: upload new Formula
Expand Down

0 comments on commit 59dc9ee

Please sign in to comment.