File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
55{
66if [ -z " ${NEW_VERSION:- } " ]; then
77 echo " error: Missing value for environment variable NEW_VERSION"
8- echo " hint: Invoke this script as NEW_VERSION=M.N.P ./tools/scripts/publish-scip-ruby .sh"
8+ echo " hint: Invoke this script as NEW_VERSION=M.N.P ./tools/scripts/publish-release .sh"
99 exit 1
1010fi
1111
@@ -30,11 +30,6 @@ if ! git diff --quiet --cached; then
3030 exit 1
3131fi
3232
33- if ! git remote -v | grep " origin" | grep -q " https://github.com/sourcegraph/scip.git" ; then
34- echo " error: remote 'origin' doesn't point to sourcegraph/scip"
35- exit 1
36- fi
37-
3833if ! git rev-parse --abbrev-ref HEAD | grep -q " main" ; then
3934 echo " error: Releases should be published from main but HEAD is on a different branch" >&2
4035 exit 1
@@ -58,4 +53,4 @@ git push origin "$TAG"
5853 echo ' bash -c ' \' ' curl -L "https://github.com/sourcegraph/scip/releases/download/$TAG/scip-$OS-$ARCH.tar.gz"' \' ' \'
5954 echo ' | tar xzf - scip'
6055 echo ' ```'
61- } | gh release create --title " scip-ruby v$NEW_VERSION " --notes-file -
56+ } | gh release create " $TAG " --title " scip v$NEW_VERSION " --notes-file -
You can’t perform that action at this time.
0 commit comments