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

remove sonatype settings #552

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Conversation

goshacodes
Copy link
Collaborator

Pull Request Checklist

  • I agree to licence my contributions under the MIT licence
  • I have added copyright headers to new files
  • I have added tests for any changed functionality

Fixes

Fixes #xxxx

Purpose

What does this PR do?

Background Context

Why did you take this approach?

References

Are there any relevant issues / PRs / mailing lists discussions?

@goshacodes goshacodes merged commit 3c91835 into paulbutcher:master Jan 1, 2025
3 checks passed
@goshacodes goshacodes deleted the pipeline branch January 1, 2025 22:37
@barkhorn
Copy link
Collaborator

barkhorn commented Jan 2, 2025

Hey, old and closed PR i know, but feels like a good place to add this.

I always kept publishing settings outside of the main build.sbt in a separate file. I put it here for reference as it handles versioning too: https://gist.github.com/barkhorn/85f1a21ce83f7f6e25e2e302bbffc26f

@goshacodes
Copy link
Collaborator Author

@barkhorn now I use sbt-ci-release plugin and it all much simpler. Only added few lines in build.sbt.
Version is taken from release tag

@goshacodes
Copy link
Collaborator Author

https://github.com/paulbutcher/ScalaMock/blob/master/build.sbt#L67-L80
If you want to release - draft new release in UI, create new tag e.g. 'v6.2.0' and create a release.
Pipeline will start and publish everything
https://github.com/paulbutcher/ScalaMock/actions/runs/12575078064/job/35049691595

@goshacodes goshacodes added this to the v6.1.0 milestone Jan 2, 2025
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