sbt-ci-release | sbt plugin to automate Sonatype releases | Continous Integration library
kandi X-RAY | sbt-ci-release Summary
kandi X-RAY | sbt-ci-release Summary
This is an sbt plugin to help automate releases to Sonatype and Maven Central from GitHub Actions. Beware that publishing from GitHub Actions requires you to expose Sonatype credentials as secret environment variables in GitHub Actions jobs. However, secret environment variables are not accessible during pull requests.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sbt-ci-release
sbt-ci-release Key Features
sbt-ci-release Examples and Code Snippets
Community Discussions
Trending Discussions on sbt-ci-release
QUESTION
I am using the amazing plugin sbt-ci-release but I think I am doing something wrong. I posted the whole details of all my experimentation and steps and attempt as an issue in their repo which can be find here.
To do it short, when travis is calling +publishSigned
it is yelling about
ANSWER
Answered 2019-Jun-18 at 16:28The issue was that my branch tag was 0.1
instead of v0.1
, adding the heading v
solve the problem.
See https://github.com/olafurpg/sbt-ci-release/issues/44#issuecomment-503087541
QUESTION
I was hoping I could just add travis.ci as a collaborator, but didn't find anything in that direction. Maybe it's a security measure because they don't want to leak their credentials in the virtual environment.
Other (unsatisfying) ideas:
- share my github credentials with travis via encrypted vars
- create a separate github account for travis
- create separate ssh keys, share with travis (encrypted), add to my github
Does anyone have a better idea?
Context: I'm publishing my project from travis.ci and it automatically assigns a new version number that's tracked as a git tag, e.g. v1.0.5
Without anything setup, it obviously fails due to missing permissions:
pushing to remote, using `git push origin v0.1.41`
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/mpollmeier/sbt-ci-release-early-usage.git/'
ANSWER
Answered 2018-Sep-06 at 14:02I ended up using a github access token a of https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/, but I'm still keen to hear better alternatives...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sbt-ci-release
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page