Skip to content

Commit

Permalink
remove hub cli, use ghcli instead
Browse files Browse the repository at this point in the history
Signed-off-by: sriv <[email protected]>
  • Loading branch information
sriv committed Jan 30, 2024
1 parent c557812 commit 77a72ca
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
run: |
go run build/make.go --all-platforms
go run build/make.go --all-platforms --distro
- name: Install hub
run: brew install hub
- name: update
run: |
cd deploy
Expand All @@ -40,16 +38,7 @@ jobs:
echo -e "JSON Report v$version\n\n" > desc.txt
release_description=$(ruby -e "$(curl -sSfL https://github.com/getgauge/gauge/raw/master/build/create_release_text.rb)" getgauge-contrib json-report)
echo "$release_description" >> desc.txt
echo "Creating new draft for release v$version"
hub release create -d -F ./desc.txt "v$version"
rm -rf desc.txt
echo "Start uploading assets..."
for i in `ls $artifacts`; do
hub release edit -m "" -a $i "v$version"
if [ $? -ne 0 ];then
exit 1
fi
done
gh release create "v$version" -F ./desc.txt $artifacts
- name: 'deployment success'
if: success()
uses: 'deliverybot/status@master'
Expand Down

0 comments on commit 77a72ca

Please sign in to comment.