GithubHelp home page GithubHelp logo

Comments (5)

Iltotore avatar Iltotore commented on August 16, 2024

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.

gvolpe avatar gvolpe commented on August 16, 2024

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.

Iltotore avatar Iltotore commented on August 16, 2024

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.

gvolpe avatar gvolpe commented on August 16, 2024

That's the idea of snapshots :)

from iron.

Iltotore avatar Iltotore commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.