From b37b04900ab68edc0bd2694377f050d53e0864aa Mon Sep 17 00:00:00 2001 From: Edward Ezekiel Date: Fri, 18 Apr 2025 13:04:07 -0500 Subject: [PATCH] build: fix issue with github release --- .github/workflows/manual-release.yml | 1 - scripts/release.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index d9a25971..af3ad1f3 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -90,7 +90,6 @@ jobs: --generate-notes \ --draft \ --prerelease=${{ needs.check-version.outputs.oclif_channel != 'latest' }} \ - --discussion-category "Announcements" \ dist/*.tar.gz env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/scripts/release.sh b/scripts/release.sh index e065ff5d..f8ebc2dd 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -100,7 +100,7 @@ if [ "$DRY_RUN" = false ]; then echo "1. Review the changes:" echo " git show" echo "2. Push the tag to trigger the release workflow:" - echo " git push --follow-tags" + echo " git push origin tag $(git describe --tags --abbrev=0)" echo "" echo "The GitHub Actions release workflow will run once the tag is pushed." else