Comments (5)
We can trigger the release action on push to the main branch but I think it would spam too much. A better alternative is eventually nightly publishing aka publishing once a day (at night) only if the main branch (here dev/2.0
) changed.
from iron.
I do it on Redis4Cats and it's refreshing. You can forget about it once the tooling does it for you, in my case it's sbt-ci-release. The aim of the plugin is pretty clear:
This is an sbt plugin to help automate releases to Sonatype and Maven Central from GitHub Actions.
- git tag pushes are published as regular releases to Maven Central
- merge into main commits are published as -SNAPSHOT with a unique version number for every commit
AFAICS mill-ci-release has similar goals.
This is a Mill plugin modeled after the fantastic sbt-ci-release plugin which helps automate publishing to Sonatype from GitHub Actions with as little friction as possible. These are the key features of using the plugin.
- A new git tag is published as a regular release
- A merge is published as a SNAPSHOT release
- Auto versioning based on git by [mill-vcs-version](https://github.com/lefou/mill-vcs-version)
- A simple one-liner in CI to publish
What do you mean with spam too much?
PS. Nightly publishing would be good to me too 👍🏽
from iron.
What do you mean with spam too much?
I mean publish too much artifacts if a day is particularly active (multiple merges, multiple push etc...)
from iron.
That's the idea of snapshots :)
from iron.
I mean, even in other projects like Dotty, Scalameta (granted they are way more active than Iron), they only publish nightlies IIRC
from iron.
Related Issues (20)
- Ambiguous RuntimeConstraint given instances in RefinedTypeOps HOT 1
- Add Ciris documentation and entry in README
- Add documentation on RuntimeConstraint
- Compiler crash on v2.3.0: cannot resolve reference toRefinedTypeOps.type.Mirror HOT 8
- Add further documentation for Doobie module HOT 1
- Make zio-json derive work with opaque types HOT 3
- Documentation still refers to RefinedTypeOpsImpl
- Support first order types HOT 5
- Rename `.refine` into `.refineUnsafe` HOT 2
- Is Show[A] really needed to summon Meta[A :| C] instances for the doobie support HOT 2
- Use fewerBraces in Iron codebase HOT 2
- Create an instance of Int :| Positive from 0 without exceptions. HOT 6
- Add NonEmptyString type HOT 2
- Support iron types for avro4s schema HOT 2
- Spark/Gallia/... support?
- Better diagnostics for compile-time errors
- Change color of error message HOT 2
- deprecation warning does not show for `refine` HOT 3
- Better String support at compile-time HOT 1
- Use skunk 1.0.0-M.x instead of 0.6.x HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iron.