File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed
Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 4444 id : get_version
4545 run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
4646 - name : Publish Brew formula
47+ env :
48+ PUBLISHED_VERSION : ${{ steps.get_version.outputs.VERSION }}
4749 run : bash publish-brew-formula.sh # installs the latest published version and generates formula
Original file line number Diff line number Diff line change 11SoCLI Changelog
22================
33
4+ Release 6.5
5+ ---------------------------
6+ * Fixing brew formula auto deploy
7+
48Release 6.4
59---------------------------
610* Fixed tag name
Original file line number Diff line number Diff line change 11# Generate formula
22set -e
33pip install homebrew-pypi-poet==0.10.0 requests==2.24.0
4+ echo Doing pip install --upgrade --no-cache socli=" ${PUBLISHED_VERSION} "
45
56# Code to wait till the latest package is available in pypi, if available do install
6- until pip install --upgrade --no-cache socli==" ${steps.get_version.outputs.VERSION } " && [[ " $( socli --version | awk ' {print $2}' ) " == " ${steps.get_version.outputs.VERSION } " ]] && true || false
7+ until pip install --upgrade --no-cache socli==" ${PUBLISHED_VERSION } " && [[ " $( socli --version | awk ' {print $2}' ) " == " ${PUBLISHED_VERSION } " ]] && true || false
78do
89 echo " Retrying again in 10 seconds..."
910 sleep 10
@@ -58,6 +59,6 @@ cp -fv socli.rb brewroot/Formula
5859cd brewroot
5960git add --all
6061echo " Committing formula..."
61- git commit -m " Published ${steps.get_version.outputs.VERSION } "
62+ git commit -m " Published ${PUBLISHED_VERSION } "
6263echo " Pushing formula..."
63- git push --quiet
64+ git push --quiet
Original file line number Diff line number Diff line change 1- __version__ = '6.4 '
1+ __version__ = '6.5 '
22
You can’t perform that action at this time.
0 commit comments