chore: improve npm publish version detection
Uses cut on "@" instead of a complex sed to capture more version number formats. The previous method did not properly detect pre-release versions
Uses cut on "@" instead of a complex sed to capture more version number formats. The previous method did not properly detect pre-release versions