Vscode-vsce: Fail to update extension

Created on 18 Jul 2016  路  11Comments  路  Source: microsoft/vscode-vsce

_From @Lonefy on July 18, 2016 8:14_

When i run vsce publish, it suggest Successfully published.However, the extension version is not updated correctly, but the last update time is right.

_Copied from original issue: Microsoft/vscode#9431_

bug

All 11 comments

What do you mean with the last update time? Can you show me a screenshot?

_From @Lonefy on July 18, 2016 8:35_

@joaomoreno
screenshot
image

cc @hamenon @modigrv

@joaomoreno is the version information updated in the json? We pick up the version information directly from there as far as I know. We don't enforce that the version has to be different during the publish.

I've updated the vsersion to 0.1.5 in package.json
screenshoot
tt

@Lonefy Could you let us know what the latest version number was that you tried to update to? Is it 0.1.32? I'll have someone look it up on our end.

@hamenon i think I've got your point.i tried to update it to 0.1.5 which seems to be a lower version num than 0.1.31.

So, using a number _greater_ than 0.1.31 works?

@joaomoreno yeah, it works. Sorry for this simple issue. :)

@Lonefy @joaomoreno Glad to hear it's working. Just an FYI though, the number doesn't necessarily have to be _greater_ it's just that it has to be _unique_. In this case it looks like a version with number 0.1.5 already existed. Though it is always better to increment version number as it's easier to keep track.

Sorry quick update, seems we did add a check recently to disallow moving to a lower version number recently. So updating to a _greater_ version number is required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vazexqi picture vazexqi  路  4Comments

brandoncc picture brandoncc  路  6Comments

SamVerschueren picture SamVerschueren  路  5Comments

jkeech picture jkeech  路  4Comments

vfonic picture vfonic  路  6Comments