Skip to content

feat: create-release#25

Merged
marek-saji merged 55 commits intov1from
feat/create-release
Nov 25, 2025
Merged

feat: create-release#25
marek-saji merged 55 commits intov1from
feat/create-release

Conversation

@marek-saji
Copy link
Copy Markdown
Contributor

@marek-saji marek-saji commented Oct 7, 2025

Why?

Closes https://verkstedt.atlassian.net/browse/VIP-87

What?

New manually triggered workflow that uses https://www.npmjs.com/package/semantic-release under the hood, but in a non–standard way:

  • workflow input dictates release type (usually commit messages dictate this)
  • GitHub API is used to generate release notes, including PR titles and authors (usually commit messages are used for this)
  • we modify files (package.json, CHANGELOG.md and version.txt (if it exists)) and push them. This is not recommended by semantic-release, but a common practice. A custom GitHub token is needed for this.

We also do more standard things:

  • create and push git version tag
  • create GitHub release

Review notes

Important

Remember this is a public repo. Do not discuss internal projects.

Testing

There’s a private test repo set up at https://github.com/verkstedt/actions--test it sends notifications to #infrastructure-create-release-pr-action slack channel.

TODO before this is merged

  • Change @feat/create-release to @v1

TODO after this is merged

Next steps

Whole semantic-release setup could probably be extracted to separate npm package that it can be called with npx, instead of having to be installed, but let’s do that after we prove this approach useful at all.

@marek-saji marek-saji self-assigned this Oct 7, 2025
@marek-saji marek-saji marked this pull request as draft October 7, 2025 08:53
@verkstedt verkstedt deleted a comment from coderabbitai bot Oct 7, 2025
@marek-saji marek-saji force-pushed the feat/create-release branch from 5902133 to 38f5f82 Compare October 7, 2025 09:10
@coderabbitai

This comment was marked as off-topic.

@marek-saji marek-saji force-pushed the feat/create-release branch 3 times, most recently from 8d4ce2c to b7b4df3 Compare October 7, 2025 09:35
Base automatically changed from chore/actions-ver-update to v1 October 7, 2025 09:38
@marek-saji marek-saji force-pushed the feat/create-release branch 2 times, most recently from aeaceb5 to dd5fc48 Compare October 7, 2025 10:29
@marek-saji marek-saji force-pushed the feat/create-release branch from 79507e6 to 9d52128 Compare October 7, 2025 12:06
@marek-saji marek-saji marked this pull request as ready for review October 7, 2025 12:06
coderabbitai[bot]

This comment was marked as off-topic.

@marek-saji marek-saji requested a review from smelchior November 13, 2025 11:55
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