Hasan Iqbal
commited on
Added gh releasing for the organization
Browse files- scripts/release.sh +6 -0
scripts/release.sh
CHANGED
|
@@ -138,8 +138,14 @@ if [[ "$VERSION" =~ -rc[0-9]+$ ]]; then
|
|
| 138 |
# It's a pre-release because it contains `rc`
|
| 139 |
gh release create "$VERSION" --generate-notes --prerelease
|
| 140 |
echo "Pre-release $VERSION created."
|
|
|
|
|
|
|
|
|
|
| 141 |
else
|
| 142 |
# It's a full release
|
| 143 |
gh release create "$VERSION" --generate-notes
|
| 144 |
echo "Release $VERSION created."
|
|
|
|
|
|
|
|
|
|
| 145 |
fi
|
|
|
|
| 138 |
# It's a pre-release because it contains `rc`
|
| 139 |
gh release create "$VERSION" --generate-notes --prerelease
|
| 140 |
echo "Pre-release $VERSION created."
|
| 141 |
+
|
| 142 |
+
# Also release in the organization
|
| 143 |
+
gh release create "$VERSION" --generate-notes --prerelease --repo "mbzuai-nlp/openfactcheck"
|
| 144 |
else
|
| 145 |
# It's a full release
|
| 146 |
gh release create "$VERSION" --generate-notes
|
| 147 |
echo "Release $VERSION created."
|
| 148 |
+
|
| 149 |
+
# Also release in the organization
|
| 150 |
+
gh release create "$VERSION" --generate-notes --repo "mbzuai-nlp/openfactcheck"
|
| 151 |
fi
|