We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84afacf commit 66b5e44Copy full SHA for 66b5e44
script/release.sh
@@ -1,8 +1,9 @@
1
#!/bin/bash
2
set -eu -o pipefail
3
4
-MODULE_PREFIX="github.com/abema/crema"
5
-RELEASE_ORIGIN="https://github.com/abema/crema"
+REPO_REF="github.com/abema/crema"
+MODULE_PREFIX=${REPO_REF}
6
+RELEASE_ORIGIN="https://${REPO_REF}"
7
8
SUBMODULE_DIRS=(
9
"ext/go-json"
@@ -48,7 +49,7 @@ release_tag() {
48
49
tag="${tag#./}"
50
51
echo "release tag ${tag}"
- gh release create "${tag}" --generate-notes --latest="${latest}"
52
+ gh release create "${tag}" --repo ${REPO_REF} --generate-notes --latest="${latest}"
53
}
54
55
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
0 commit comments