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

Use single snapshot version #23

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

mdedetrich
Copy link
Contributor

@mdedetrich mdedetrich commented Jan 26, 2024

This trick is generally used in sbt plugins which use sbt-dynver that have scripted tests. Its means that whenever scripted tests run publishLocal it doesn't generate a new version and hence a new local publish every time which over time can pollute your local ivy repository.

In other words the version is just now

<@sbt-pull-request-validator>-<⎇ use-single-snapshot-version>-> sbt version
[info] welcome to sbt 1.9.7 (Amazon.com Inc. Java 1.8.0_402)
[info] loading global plugins from /Users/mdedetrich/.sbt/1.0/plugins
[info] loading settings for project sbt-pull-request-validator-build from plugins.sbt ...
[info] loading project definition from /Users/mdedetrich/github/sbt-pull-request-validator/project
[info] loading settings for project sbt-pull-request-validator from build.sbt ...
[info] set current project to sbt-pull-request-validator (in build file:/Users/mdedetrich/github/sbt-pull-request-validator/)
[info] 1.0.0-SNAPSHOT

@mdedetrich mdedetrich merged commit 7aac533 into sbt:main Jan 26, 2024
10 checks passed
@mdedetrich mdedetrich deleted the use-single-snapshot-version branch January 26, 2024 21:09
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