-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
gh-action: Upload snapshot as post-commit job #2040
gh-action: Upload snapshot as post-commit job #2040
Conversation
Signed-off-by: yue9944882 <291271447@qq.com>
Thanks for doing this. Is there an example of where these snapshots end-up? e.g. what is the version? |
@brendandburns they're pushed to sonatype oss snapshot repository, so developers can get quick access to the master branch package by adding the following repository to their pom.xml: <repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
the snapshots are built from branch |
Signed-off-by: yue9944882 <291271447@qq.com>
/lgtm Thanks for starting us towards GH action based automation! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, yue9944882 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(we should probably expand this to the release branches also) |
@brendandburns i added my jira account credentials and gpg keys in the repo secrets to push snapshots. github claims that these secrets are perfectly protected 🤞
if this works well, we can move the maven release job as another job triggered by simple git tags. so we don't need to deal with the fiddly release process manually anymore!