Skip to content

Maintenance: release process #136

Closed
@saragerion

Description

@saragerion

Description of the feature request

Problem statement

For the scope of our first beta release, and consequent ones, when one or more features are merged to main and ready to be published, a release process needs to be in place in order to make the NPM library available to the wider public.
Ideally, this process should be as automated as possible to reduce the operational burden of maintainers and contributors who can instead focus on the core business logic of this library.

Summary of the feature

Tasks related to this process can include:

  • Github workflow triggered any time a change is pushed to the main branch - that will validate, through different tests, that the code is production ready. Why similar automated tests might already have been performed in the PR branches, I would advice that we protect the main branch again any changes added.
  • Before the code is released, release notes should be added in the Changelog file(s). See this website for reference. It would be nice to have but not paramount for the beta release if we could automate this to avoid losing so much time understanding what is gonna be released and what is still not merged. This can be achieved by looking for example at the issues placed in the "Done but not yet released" column of our Github Project:

Screenshot 2021-07-26 at 15 32 24

- Github workflow triggered any time a new [release](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release) is created. Release steps may include (but not limited to): compile, lint, audit, test, publish the code.

Note that the above should probably be split in multiple issues and/or PR's to reduce the amount of code reviewed at once.

Code examples

Benefits for you and the wider AWS community

Describe alternatives you've considered

Additional context

Related issues, RFCs

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions