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

initial version for release action #2683

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

kwin
Copy link
Contributor

@kwin kwin commented Aug 26, 2021

This requires the following organisation or repository secrets:

  1. GPG_PRIVATE_KEY, the private key for signing the release
  2. GPG_PASSPHRASE, the passphrase for using the private key
  3. OSSRH_TOKEN_USER, the user name of a user for OSSRH for deploying to Maven Central, https://central.sonatype.org/publish/publish-guide/
  4. OSSRH_TOKEN_PASSWORD, the token of a user for OSSRH for deploying to Maven Central, should be created via https://oss.sonatype.org/#profile;User%20Token. Used instead of password to decouple from the named user's credentials.

@davidjgonzalez Can you set those up?

MAVEN_USERNAM: ${{ secrets.OSSRH_TOKEN_USER }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
run: mvn -B clean release:prepare release:perform -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdryRun=${{ github.event.inputs.dryRun }}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@codecov
Copy link

codecov bot commented Jan 21, 2022

Codecov Report

Merging #2683 (53d1983) into master (bfe1c01) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2683   +/-   ##
=========================================
  Coverage     53.85%   53.85%           
  Complexity     5568     5568           
=========================================
  Files           753      753           
  Lines         30593    30593           
  Branches       3961     3961           
=========================================
  Hits          16477    16477           
  Misses        12575    12575           
  Partials       1541     1541           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bfe1c01...53d1983. Read the comment docs.

@kwin
Copy link
Contributor Author

kwin commented Mar 7, 2024

@davidjgonzalez Please set up OSSRH credentials as repo/orga secrets otherwise no one apart from you will ever be able to create releases.

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