Skip to content

Conversation

@1spyral
Copy link
Member

@1spyral 1spyral commented Oct 3, 2025

Closes #765

Creates a GitHub Actions workflow that builds and publishes a release upon a new version tag being added.

To create a release:
Your git tag must start with v or test- (for testing this workflow)

For testing, this release was generated:

image

This release was also previously generated but deleted because the changes associated were reverted:

image

Post review steps:

  • Delete the test release
  • Consider removing the test- prefix from the workflow entirely (exists as proof of concept)

@1spyral 1spyral force-pushed the github-action-releases branch 2 times, most recently from a8d5026 to 9b98af2 Compare October 3, 2025 20:03
Requirements:
Your `git tag` must start with `v` or `test-` (for testing this workflow)
@1spyral 1spyral force-pushed the github-action-releases branch from 9b98af2 to 35673e0 Compare October 3, 2025 20:05
@1spyral 1spyral marked this pull request as draft October 3, 2025 20:06
@1spyral 1spyral marked this pull request as ready for review October 3, 2025 20:14
Copy link
Contributor

@AbdulRahmanAlHamali AbdulRahmanAlHamali left a comment

Choose a reason for hiding this comment

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

So in this flow, we still need to first manually update the lib/semian/version.rb, as well as update the changelog, and create a tag. Correct?

I'm wondering if, instead, we can have a workflow that automatically does all of that. It asks you for the version number you want to update to (or maybe it asks you: do you want bugfix, minor or major), and then updates the file, the changelog, the tags, etc.

Worth calling out also: Ideally, we don't want to show most/all dependabot dependency update in the release or in the changelog. Pretty much all semian dependencies use the version of the application

branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:
Copy link
Contributor

Choose a reason for hiding this comment

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

what is that? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

This allows for the workflow to be called from other workflows (release workflow)

@1spyral
Copy link
Member Author

1spyral commented Oct 6, 2025

Closing this PR to rework the behaviour.

New behaviour will ask for major, minor, or bugfix release version, and automate all release-related actions.

@1spyral 1spyral closed this Oct 6, 2025
@1spyral 1spyral deleted the github-action-releases branch November 5, 2025 15:58
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.

Run releases through Github Actions

2 participants