Skip to content

Commit a49eb2c

Browse files
Auto release full releases on Hackage
1 parent 7d2b92b commit a49eb2c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.ci/publish_sdist.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ set +u
1010

1111
if [[ "$HACKAGE_RELEASE" == "yes" ]]; then
1212
# Release tag set, upload as release.
13-
# TODO: Right now, this branch will do the same as the other: make a
14-
# release candidate. We can change it to actually have it release after
15-
# we've gained enough trust in the release logic.
16-
echo "XXX: Release logic activated!"
17-
cabal upload --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${SDIST}
18-
cabal upload --documentation --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${DDIST}
13+
cabal upload --publish --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${SDIST}
14+
cabal upload --publish --documentation --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${DDIST}
1915
elif [[ "$HACKAGE_RELEASE" == "no" ]]; then
2016
# Upload as release candidate
2117
cabal upload --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${SDIST}

0 commit comments

Comments
 (0)