Skip to content

Commit 103ebda

Browse files
committed
Resolve the issue of upload failure
1 parent 71c5095 commit 103ebda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy_nuget.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ do
2727
dotnet build ${name}/${name}.csproj /clp:ErrorsOnly --configuration Release -P:Version=${VERSION} -P:Authors=AElf -o ${build_output}
2828

2929
echo `ls ${build_output}/${name}.${VERSION}.nupkg`
30-
dotnet nuget push ${build_output}/${name}.${VERSION}.nupkg -k ${NUGET_API_KEY} -s https://api.nuget.org/v3/index.json
30+
dotnet nuget push ${build_output}/${name}.${VERSION}.nupkg -k ${NUGET_API_KEY} -s https://api.nuget.org/v3/index.json --skip-duplicate
3131
fi
3232
done
3333
cd ../

0 commit comments

Comments
 (0)