Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Monthly NuGet release previews#1380

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
lostmsu wants to merge1 commit intopythonnet:masterfromlosttech:PR/NuGetMonthly

Conversation

lostmsu
Copy link
Member

What does this implement/fix? Explain your changes.

This generates monthly release previews on NuGet using GitHub actions

Does this close any currently open issues?

#1379

@filmor
Copy link
Member

Does this really need to run tests? IMHO it's perfectly fine to keep this as simple as possible, i.e. to just rundotnet pack. I also wouldn't call it explicitlymonthly, it might be useful to be able to trigger these manually.preview should do.

@lostmsu
Copy link
MemberAuthor

I think it is better to keep tests to avoid non-functional releases.

@@ -38,6 +38,9 @@ indent_style = tab
charset = utf-8
insert_final_newline = true

[Python.Runtime.csproj]
charset = latin1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is an odd choice for XML, is this intentional?

Copy link
MemberAuthor

@lostmsulostmsuFeb 11, 2021
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Without this Visual Studio tends to add UTF-8 BOM header to solution, leading to PRs with the entire file replaced. It simply ignoresutf-8 above.

- name: Publish NuGet
run: dotnet nuget push --api-key ${NUGET_KEY}
env:
NUGET_KEY: ${{ secrets.NUGET_MONTHLY }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think this way you'll leak the key.

Copy link
MemberAuthor

@lostmsulostmsuFeb 11, 2021
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I don't think so, but the reason I had to try to add this turned out to be bogus: it was not picked up, because PR was from my fork. I moved the PR branch into this repository instead, now it is getting picked up correctly. See#1381

So I reverted to using${{ secrets.NUGET_MONTHLY }} directly

@lostmsu
Copy link
MemberAuthor

Superseded by#1381

@lostmsulostmsu deleted the PR/NuGetMonthly branchFebruary 12, 2021 00:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@filmorfilmorfilmor left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@lostmsu@filmor

[8]ページ先頭

©2009-2025 Movatter.jp