ucwaldo

ucwaldo

Expublish provides a mix task that helps package maintainers keeping a clean, meaningful and trackable version history. It follows semantic versioning conventions while executing a series of best practices before releasing a new package version.

Those include verifying a clean git working directory, passing tests, a new git commit and tag as well as a new curated change log entry.

The mix task makes it straight forward for contributors or colleagues to get their changes out of the door, not having to manually perform a list of steps that might vary from project to project and are easy to get wrong.

Use it from a CI server to continuously release new package versions, especially useful when your repository receives frequent updates.

Things like a ready github action might follow in the future.

Github

Showing Posts 1 to 7

axelson

axelson

Scenic Core Team

This looks pretty neat! Can you clarify if mix expublish.minor (as an example command) will publish to hex.pm?

ucwaldo

ucwaldo OP

Yes it would. One can control the tasks behaviour with a bunch of different options like --disable-publish, --disable-push, of course --dry-run and more.

The docs are a bit all over the place but most of the things should be in there. All kind of feedback and ideas are appreciated here or in a github issue! Thanks @axelson !

christhekeele

christhekeele

This is really cool, I was just thinking about building something like this!

ucwaldo

ucwaldo OP

2.5.0 - 28. Feb 2021 22:29

  • Support updating project version in mix.exs module attribute
  • Support --version-file option considered when updating project version
elitau

elitau

Thanks for the cool library!

How does it relate to semantic release?
Would it be possible to use both libraries beside each other?

ucwaldo

ucwaldo OP

Hi @elitau, i haven’t used the semantic-release npm package, but glancing over the highlights it seems to achieve the same thing while being much more feature complete and polished than expublish is (:
Also, expublish exlusively helps streamlining elixir package releases to public or private hex repositories, while semantic-release seems to help you publish libraries in the js ecosystem, namely npm. You’ll want to be using one or the other!

ucwaldo

ucwaldo OP

2.7.3 - 3. May 2022

Relevant changes since the last update here:

  • Fix --allow-untracked ensuring that untracked files are not added in the release commit
  • ISO 8601 formatted changelog entry date by default
  • Fail mix task with appropriate exit code to fail CI runs
  • Loosen Elixir version constraint to 1.8
  • Improved documentation
— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
fuelen
Hi all! I want to present a small library which provides a mix task for generating an Entity-Relationship Diagram for Ecto schemas. You...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
sergio
It’s not that it’s vocabulary is too advanced. It’s something worse. I get lost trying to follow even a paragraph written by Claude. It’...
New
sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews