broadinstitute / poolq

The Genetic Perturbation Platform's tool for deconvoluting and quantifying the results of pooled screens
Other
5 stars 1 forks source link

Replace sbt-github-packages with call to maven #9

Open mtomko opened 1 year ago

mtomko commented 1 year ago

Initial attempt to address https://github.com/VirtusLab/scala-steward-repos/issues/98#issuecomment-1362778518

This work is based on the instructions found here:

https://www.stevenskelton.ca/scala-sbt-publishing-to-github-packages/

I have chosen to hard code the settings.xml file with most of the details filled in. Only the GITHUB_TOKEN is filled in from the environment.

Unfortunately this will be challenging to test in the wild without simply running a release, however I'm not above publishing a snapshot and removing it later.

tgodzik commented 1 year ago

I am wondering if alternatively we could just set a Scala Steward github token, if that is not being used then most likely any token will do, what do you think?

mtomko commented 1 year ago

That would definitely work in my case.

mtomko commented 1 year ago

I don't want to do anything too complicated for you but I wonder if scala steward could have an optional script entry point letting repositories set stuff like that on your behalf.

tgodzik commented 1 year ago

I don't want to do anything too complicated for you but I wonder if scala steward could have an optional script entry point letting repositories set stuff like that on your behalf.

Hmm... that's worth dicussing in the main repository.

mtomko commented 1 year ago

I'm on my phone now, will mention it there when I get back.