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

Added metadata string property for AssemblyInfoReplacementParams #675

Merged
merged 3 commits into from
Mar 8, 2015

Conversation

jchannon
Copy link
Contributor

@jchannon jchannon commented Mar 6, 2015

Added metadata string property for AssemblyInfoReplacementParams

@forki
Copy link
Member

forki commented Mar 6, 2015

You added a parameter but I can't see where you are using it.

@forki
Copy link
Member

forki commented Mar 6, 2015

Ah now I see. Lgtm. The only issue is I'm on vacation so I can only merge it Monday

@forki
Copy link
Member

forki commented Mar 6, 2015

And you still need to give the default parameter a value.

@forki
Copy link
Member

forki commented Mar 6, 2015

Ok the error now is only related to github Api limits

@jchannon
Copy link
Contributor Author

jchannon commented Mar 6, 2015

Actually this might need to be an array rather than a string looking at the screenshot here http://fsharp.github.io/FAKE/assemblyinfo.html

@forki
Copy link
Member

forki commented Mar 6, 2015

That thing from the Screenshot is a different api
On Mar 6, 2015 7:09 PM, "Jonathan Channon" [email protected] wrote:

Actually this might need to be an array rather than a string looking at
the screenshot here http://fsharp.github.io/FAKE/assemblyinfo.html


Reply to this email directly or view it on GitHub
#675 (comment).

@jchannon
Copy link
Contributor Author

jchannon commented Mar 6, 2015

But Metadata needs to populate multiple values? eg "gitcommit","23445fs"

@forki
Copy link
Member

forki commented Mar 6, 2015

Ah that's what you mean.
On Mar 6, 2015 7:15 PM, "Jonathan Channon" [email protected] wrote:

But Metadata needs to populate multiple values? eg "gitcommit","23445fs"


Reply to this email directly or view it on GitHub
#675 (comment).

@jchannon
Copy link
Contributor Author

jchannon commented Mar 6, 2015

guess I could just do the below for now

fun f -> 
            {f with 
                  AssemblyVersion = fullBuildNumber
                  AssemblyInformationalVersion = fullBuildNumber
                  AssemblyMetadata = "\"githash\"" + "," + "\"6868767gf\""
                  })

@forki
Copy link
Member

forki commented Mar 6, 2015

I'd prefer to have it an array instead
On Mar 6, 2015 7:22 PM, "Jonathan Channon" [email protected] wrote:

guess I could just do the below for now

fun f ->
{f with
AssemblyVersion = fullBuildNumber
AssemblyInformationalVersion = fullBuildNumber
AssemblyMetadata = ""githash"" + "," + ""6868767gf""
})


Reply to this email directly or view it on GitHub
#675 (comment).

@jchannon jchannon changed the title Update AssemblyInfoHelper.fs Added metadata string property for AssemblyInfoReplacementParams Mar 7, 2015
@jchannon
Copy link
Contributor Author

jchannon commented Mar 7, 2015

Probably best you add that, I've spent the last couple of hours trying to get it to work and failed 😄

@forki
Copy link
Member

forki commented Mar 7, 2015

Will do
On Mar 7, 2015 2:57 PM, "Jonathan Channon" [email protected] wrote:

Probably best you add that, I've spent the last couple of hours trying to
get it to work and failed [image: 😄]


Reply to this email directly or view it on GitHub
#675 (comment).

@forki forki merged commit 75f1fa9 into fsprojects:master Mar 8, 2015
@forki
Copy link
Member

forki commented Mar 8, 2015

65338a7 - is this what you meant?

@jchannon
Copy link
Contributor Author

jchannon commented Mar 8, 2015

Yup I tried with a seq and a string concat but couldn't get it to work!

Nice work. Will pull the latest version tomorrow :)

On Sunday, 8 March 2015, Steffen Forkmann [email protected] wrote:

65338a7
65338a7

  • is this what you meant?

Reply to this email directly or view it on GitHub
#675 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants