Skip to content

Commit

Permalink
fix: attempt to use semantic-release/github instead of gh
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Nov 18, 2024
1 parent e91665d commit 331d28b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ plugins:
'verifyReleaseCmd': 'echo nextVersion=${nextRelease.version} >> $GITHUB_OUTPUT',
# Adds an additional git tag without the `v` prefix as a convenience for GitHub Actions users
'prepareCmd': 'git tag ${nextRelease.version}',
# Lightweight alternative to `@semantic-release/github` that creates a draft GitHub release
'publishCmd': 'gh release create ${nextRelease.version} --draft --generate-notes',
},
]
- '@semantic-release/github'
7 changes: 1 addition & 6 deletions bin/verify-clis.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
#!/bin/bash

# Verify existence of gh and docker CLIs
# Verify existence of docker CLI
# https://stackoverflow.com/a/677212
set -e
if ! command -v docker &> /dev/null
then
echo "docker CLI could not be found"
exit 1
fi
if ! command -v gh &> /dev/null
then
echo "gh CLI could not be found"
exit 1
fi

0 comments on commit 331d28b

Please sign in to comment.