Comments (13)
Since we use ripple we lean on the update dependencies feature of create-packages
http://darthfubumvc.github.io/ripple/commands/createpackages/
It works brilliantly for us
from gitversion.
ah, right.
started a spike ealier this week for ripple-ising our main solution here, another good reason to use it... 😉
thanks, makes sense.
from gitversion.
From the looks of it, this issue can be closed.
Reopen or post a comment if this is not the case
from gitversion.
Just for future reference, if you add an AssemblyInformationalVersion to your projects AssemblyInfo.cs, your package versions should be correct when doing nuget pack. (just had this exact same problem and eventually found the AssemblyInformationalVersion)
from gitversion.
This problem still exists. AssemblyInformationalVersion needs to be set to NuGetVersion (e.g. 1.2.3-unstable0004) instead of the longer version with the SHA in it. Otherwise, NuGet doesn't set the dependency properly in the creation (as described in the original post).
Really need to be able to specify/override what goes into AssemblyInformationalVersion so that we can make this work.
from gitversion.
From nuget docs (https://docs.nuget.org/create/versioning)
If building a package from a project (.csproj or .vbproj), use the AssemblyInformationalVersionAttribute to specify the version.
[assembly: AssemblyInformationalVersion("1.0.1-alpha")]
NuGet will pick up this value instead of the one specified in the AssemblyVersion attribute (this attribute does not support SemVer which is why a different attribute was needed).
from gitversion.
Makes sense, thanks for clarifying.
from gitversion.
Happy to guinea pig a fix to this. I've been digging through the code, but not sure the best way to wire this in. Maybe something in the yaml config? or a command line parameter?
from gitversion.
Seeing as it is solution specific I think the yml file is a better idea. Not sure the best approach. Maybe some sort of string interpolation which you can use variables gitversion generates. I thought we had something in there but don't have time to look into it right now
from gitversion.
I was thinking something similar to how it's wired up for the assembly version property where you can specify in the yml: Major, MajorMinor, MajorMinorPatch, etc. Have a similar config property for assemblyfileversioninfo-format whre you can say "gitversion" or "fullinfoversion" or something like that...
from gitversion.
I just sent a Pull Request for this to GitTools/Master with some additional unit tests. would be interested for you to take a look at the approach when you get time.
thanks!
mark
from gitversion.
This is fixed by #660 right?
Am closing this, if thats not the case then let me know @MarkZuber
from gitversion.
Yes. It's fixed by that cl. Thanks!
Sent from the internets.
On Jan 19, 2016, at 1:46 AM, Jake Ginnivan [email protected] wrote:
This is fixed by #660 right?
Am closing this, if thats not the case then let me know @MarkZuber
—
Reply to this email directly or view it on GitHub.
from gitversion.
Related Issues (20)
- [Improvement]: Rename TrunkBased Version Strategy to Mainline HOT 1
- [Improvement]: Create TaggedSemanticVersionService class HOT 1
- [ISSUE]: gitversion/execute@1 task uses branch from wrong repository
- [Improvement]: Finalizing the configuration of GitFlow and GitHubFlow workflow and align with the Mainline version strategy HOT 1
- [ISSUE]: n unexpected error occurred: LibGit2Sharp.LibGit2SharpException: No error message has been provided by the native library HOT 2
- [BUG]: GitVersion (in Azure Devops) calculating wrong version when building a tag HOT 9
- Verifies the contents of `configuration.md` against the default serialized configuration
- [ISSUE]: Regex Capture Groups don't work correctly on release branch. HOT 3
- gitversion from container image default behaviour differs from other installation methods HOT 5
- [Documentation]: Documenting the GitFlow workflow and create sequence diagrams HOT 1
- [ISSUE]: Gitversion failing in teamcity run configuration HOT 1
- [ISSUE]: Can't make GitVersion work in conjunction with WiX Toolset 4.0/5.0 HOT 3
- Forced push breaks GitVersion
- [ISSUE]: GitVersion AzDo task appears to be stuck at version 5.0.1 HOT 1
- [ISSUE]: Plan Migration to .NET 7.0+ SDK HOT 1
- [ISSUE]: NotImplementedException in TrunkBased-Workflow HOT 1
- [Feature]: Support of multi mainline branches in the Mainline version strategy
- [ISSUE]: Unable to get Main branch to update WeightedPreReleaseNumber HOT 1
- [ISSUE]: `init` command still shown in the help output HOT 2
- [Documentation]: Documenting the GitHubFlow workflow and create sequence HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitversion.