Skip to content

Commit

Permalink
hub is deprecated, use gh cli (#295)
Browse files Browse the repository at this point in the history
Signed-off-by: sriv <[email protected]>
  • Loading branch information
sriv authored Jan 24, 2024
1 parent 3cbc2e5 commit 1529dec
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,7 @@ jobs:
release_description=$(ruby -e "$(curl -sSfL https://github.com/getgauge/gauge/raw/master/build/create_release_text.rb)" getgauge html-report)
echo "$release_description" >> desc.txt
echo "Creating new draft for release v$version"
hub release create -F ./desc.txt "v$version"
sleep 10
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: Update metadata in gauge-repository
run: |
Expand Down

0 comments on commit 1529dec

Please sign in to comment.