If the filter wildcard is not the first character, the “Publish artifacts to S3 Bucket” step will drop all characters before the wildcard. e.g. if the filter is ‘package.*.nupkg’ the file ‘package.22.214.171.124.nupkg’ will be uploaded as ‘126.96.36.199.nupkg’
The culprit seems to be explicit code in FileHelper.getSearchPathLength(), but the behavior is not obvious when configuring the step and there is no way to configure around this if you need to match like this.
In my case to workaround this, my script moved the package.*.nupkg to an isolated directory and publish from there.