From 16cd47814b499ae36f09aafff7e0728e6dd33c0a Mon Sep 17 00:00:00 2001 From: sriv Date: Wed, 24 Jan 2024 12:13:10 +0530 Subject: [PATCH] hub is deprecated, use gh cli Signed-off-by: sriv --- .github/workflows/deploy.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ee6c602..486adcf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: |