File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ set +u
11
11
if [[ " $HACKAGE_RELEASE " == " yes" ]]; then
12
12
# Release tag set, upload as release.
13
13
cabal upload --publish --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${SDIST}
14
- cabal upload --publish --documentation --username =${HACKAGE_USERNAME} --password= ${PASSWORD } ${DDIST}
14
+ cabal upload --publish --documentation --token =${HACKAGE_TOKEN } ${DDIST}
15
15
elif [[ " $HACKAGE_RELEASE " == " no" ]]; then
16
16
# Upload as release candidate
17
17
cabal upload --username=${HACKAGE_USERNAME} --password=${PASSWORD} ${SDIST}
18
- cabal upload --documentation --username =${HACKAGE_USERNAME} --password= ${PASSWORD } ${DDIST}
18
+ cabal upload --documentation --token =${HACKAGE_TOKEN } ${DDIST}
19
19
else
20
- echo " Unrecognized \$ HACAKGE_RELEASE : $HACAKGE_RELEASE "
20
+ echo " Unrecognized \$ HACKAGE_RELEASE : $HACKAGE_RELEASE "
21
21
exit 1;
22
22
fi
You can’t perform that action at this time.
0 commit comments