Skip to content

Commit 214a527

Browse files
committed
Added gh releasing for the organization
1 parent 41de9b4 commit 214a527

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,14 @@ if [[ "$VERSION" =~ -rc[0-9]+$ ]]; then
138138
# It's a pre-release because it contains `rc`
139139
gh release create "$VERSION" --generate-notes --prerelease
140140
echo "Pre-release $VERSION created."
141+
142+
# Also release in the organization
143+
gh release create "$VERSION" --generate-notes --prerelease --repo "mbzuai-nlp/openfactcheck"
141144
else
142145
# It's a full release
143146
gh release create "$VERSION" --generate-notes
144147
echo "Release $VERSION created."
148+
149+
# Also release in the organization
150+
gh release create "$VERSION" --generate-notes --repo "mbzuai-nlp/openfactcheck"
145151
fi

0 commit comments

Comments
 (0)