Skip to content

chore: Add a mix task for deploying with the right tag#3337

Merged
joshlarson merged 3 commits into
mainfrom
jdl/chore/mix-task-for-deploying
Jul 15, 2026
Merged

chore: Add a mix task for deploying with the right tag#3337
joshlarson merged 3 commits into
mainfrom
jdl/chore/mix-task-for-deploying

Conversation

@joshlarson

Copy link
Copy Markdown
Contributor

Scope

We've had a few instances recently of manually typing out the wrong tag number, and this is the sort of thing that computers can do quite well! So I stole a bit of my work from my days on Skate, and this is the result!

How to test

Run mix deploy.prod and see it open a browser window with the right tag selected.

You can also fiddle with the today_formatted() function if you want to pretend to be running the script on a different day, in order to test out the same_day? logic.

(Don't worry - the mix task won't actually execute a deploy - it just opens the New Release page with the right tag set - you'll still have to publish the release and approve the Github Action before anything goes to prod!)

@joshlarson joshlarson requested a review from a team as a code owner July 14, 2026 20:44
@joshlarson joshlarson requested a review from thecristen July 14, 2026 20:44

@thecristen thecristen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just used it to create today's release! 😆 Thanks

@joshlarson joshlarson merged commit 0d6ee7d into main Jul 15, 2026
18 checks passed
@joshlarson joshlarson deleted the jdl/chore/mix-task-for-deploying branch July 15, 2026 16:00
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