Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Unique Version for Each AppVeyor Deployment #259

Closed
Mike-EEE opened this issue Jul 11, 2019 · 3 comments

Comments

@Mike-EEE
Copy link
Member

@Mike-EEE Mike-EEE commented Jul 11, 2019

Currently the version for each preview deployment on myget is the same. This is leading to caching issues when developers get the latest version.

For example, the current version on myget is 2.1.21. What it needs to be is something like 2.1.21.{time} where {time} is the current timestamp, so something like 2.1.21.2019071100000001.

Here is a page with more information:

https://www.appveyor.com/docs/build-worker-api/#update-build-details

@Mike-EEE

This comment has been minimized.

Copy link
Member Author

@Mike-EEE Mike-EEE commented Jul 18, 2019

Removing milestone as this technically isn't tied to one, but rather is intended to accomplish ASAP/whenever. 😁

@Mike-EEE

This comment has been minimized.

Copy link
Member Author

@Mike-EEE Mike-EEE commented Nov 8, 2019

@Mike-EEE Mike-EEE assigned Mike-EEE and unassigned WojciechNagorski Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
Mike-EEE added a commit that referenced this issue Nov 8, 2019
@Mike-EEE

This comment has been minimized.

Copy link
Member Author

@Mike-EEE Mike-EEE commented Nov 8, 2019

OK... fixed this sucker. It's not perfect, but it will do for now.

First, we were using MyGet, and it turns out that AppVeyor provides a feed for you already. It is here:

https://ci.appveyor.com/nuget/extendedxmlserializer-preview

Secondly, our preview feed now provides build numbers for each build, as such: 2.1.25.432-preview.

When we deploy to nuget, the build will be 2.1.25.433. Ideally it would be nice to have 2.1.25.0 but according to this article there is a bunch of hassle around this what-should-be-dead-simple process.

In any case, we have solved the caching issue that has been a thorn in the side of this repo for a while now.

@Mike-EEE Mike-EEE closed this Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.