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
5
5
{
6
6
if [ -z " ${NEW_VERSION:- } " ]; then
7
7
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"
9
9
exit 1
10
10
fi
11
11
@@ -30,11 +30,6 @@ if ! git diff --quiet --cached; then
30
30
exit 1
31
31
fi
32
32
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
-
38
33
if ! git rev-parse --abbrev-ref HEAD | grep -q " main" ; then
39
34
echo " error: Releases should be published from main but HEAD is on a different branch" >&2
40
35
exit 1
@@ -58,4 +53,4 @@ git push origin "$TAG"
58
53
echo ' bash -c ' \' ' curl -L "https://github.com/sourcegraph/scip/releases/download/$TAG/scip-$OS-$ARCH.tar.gz"' \' ' \'
59
54
echo ' | tar xzf - scip'
60
55
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