microsoft / vsts-nexus

VSTS Build Extension for integration with Sonatype Nexus
MIT License
12 stars 17 forks source link

The "Extension" field allows unsupported input values #4

Closed davidstaheli closed 8 years ago

davidstaheli commented 8 years ago

The "Extension" input field is currently free-text. It is unclear whether its value should be preceded with a period, such as ".jar" which is the standard format of a file extension. When preceded with a period, it doesn't match one of the supported Packaging field values, and these fields should correlate.

The TypeScript code should strip any preceding period from the file extension so that it correlates with the expected Packaging field values.

jasholl commented 8 years ago

The extension should be free form because that is what nexus supports.