Skip to content

chore: refactor release workflow#94

Open
skyrpex wants to merge 6 commits intomainfrom
add-release-workflow
Open

chore: refactor release workflow#94
skyrpex wants to merge 6 commits intomainfrom
add-release-workflow

Conversation

@skyrpex
Copy link
Collaborator

@skyrpex skyrpex commented Mar 24, 2026

Refactors the release and publish workflows to schedule a daily release, including automatic version bumping using npx commit-and-tag-version. The release can also be manually dispatched.

Additionally, removes the makefile in favor of in-lining the scripts (less maintenance burden), and updates the docs.

Finally, splits the pull request checks into fine-tuned jobs.

@skyrpex skyrpex marked this pull request as draft March 24, 2026 13:31
@skyrpex skyrpex marked this pull request as ready for review March 24, 2026 13:33
Copy link
Collaborator

@tiurin tiurin left a comment

Choose a reason for hiding this comment

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

👏

Copy link
Collaborator

@tiurin tiurin left a comment

Choose a reason for hiding this comment

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

https://github.com/localstack/localstack-toolkit-vscode/blob/main/CONTRIBUTING.md#releasing-a-new-version - this section needs updating. Also, I think it is good to call out that we basically have a continuous delivery now.

@skyrpex
Copy link
Collaborator Author

skyrpex commented Mar 25, 2026

https://github.com/localstack/localstack-toolkit-vscode/blob/main/CONTRIBUTING.md#releasing-a-new-version - this section needs updating. Also, I think it is good to call out that we basically have a continuous delivery now.

Good call. I just amended the docs.

@skyrpex skyrpex requested a review from tiurin March 25, 2026 13:27

on:
schedule:
- cron: '0 8 * * *' # Every day at 08:00 UTC
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think everyday including weekend it too much especially since when we're off, maybe once a week is okay for now.

With this refactor, we still have the option to trigger the workflow manually, right?

Also, do we run the tests in this worflow refactor? Would be great make sure all tests pass before pushing the release artifacts 🙏🏼

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fair enough, changing to once a week.

With the current pipeline, everything in main has passed the tests and thus is safe to publish.

Copy link
Collaborator

Choose a reason for hiding this comment

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

With the current pipeline, everything in main has passed the tests and thus is safe to publish.

It can happen that a PR can be merged by admins without checks or approval. Having tests rerun for safety wouldn't hurt IMO. Up to you 🙏🏼

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Better safe than sorry, I'll add a test check before that.

@skyrpex skyrpex requested a review from anisaoshafi March 25, 2026 18:27
Copy link
Collaborator

@anisaoshafi anisaoshafi left a comment

Choose a reason for hiding this comment

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

Thanks for adding the test job, LGTM! 📦

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.

3 participants