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

Attach PDF to release #79

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Attach PDF to release #79

merged 1 commit into from
Feb 26, 2021

Conversation

zickgraf
Copy link
Contributor

Fixes #69.

We have already tested this in production: https://github.com/homalg-project/homalg_project/releases

@fingolfin
Copy link
Member

Fantastic. Actually, @ssiccha and me talked about this just before the two of you had that phone call, so I thought this PR was a result of that, but then I also saw your references to #69 which I had completely forgotten 😂

-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/pdf" \
--data-binary @"$FULLNAME")
Copy link
Member

Choose a reason for hiding this comment

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

It'd be nicer if that upload code was in a function which gets called with the filename and mime type (and the logname could just be $TMP_DIR/${filename}.log.

Even nicer would be to write all of this hellish shell code in e.g. Python 😂

Needless to say, I don't expect you to do either of these, just had to get it off my chest (the current state is my fault, of course)

@zickgraf
Copy link
Contributor Author

I thought this PR was a result of that, but then [...]

Yes, the code is actually from last october. I just did not want to open too many PRs and have to rebase everything all the time :D Now all changes I have are merged :-)

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.

Add support for uploading manual PDFs to GitHub release system
2 participants