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
1111if [[ " $HACKAGE_RELEASE " == " yes" ]]; then
1212 # Release tag set, upload as release.
1313 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}
1515elif [[ " $HACKAGE_RELEASE " == " no" ]]; then
1616 # Upload as release candidate
1717 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}
1919else
20- echo " Unrecognized \$ HACAKGE_RELEASE : $HACAKGE_RELEASE "
20+ echo " Unrecognized \$ HACKAGE_RELEASE : $HACKAGE_RELEASE "
2121 exit 1;
2222fi
You can’t perform that action at this time.
0 commit comments