Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Automate releases (build part) #139

Closed
tbouffard opened this issue Mar 26, 2020 · 0 comments · Fixed by #574
Closed

[INFRA] Automate releases (build part) #139

tbouffard opened this issue Mar 26, 2020 · 0 comments · Fixed by #574
Assignees
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Milestone

Comments

@tbouffard
Copy link
Member

tbouffard commented Mar 26, 2020

The current way of cutting release is very manual (at least in 0.1.1, see README)
Setup a GitHub Workflow, Travis CI build, .... to automate this as much as possible and reduce errors.

Goal

This issue aims to cover the 1st automation step:

  • bump the version in the npm package.json file + tag the related commit
  • push changes to master
  • push the newly created git tag

A note about GitHub Actions/Workflows

[UPDATE 2020-07-07] it is now possible to manually triggered a GH Workflow via the new workflow_dispatch event type, see https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

Triggering manual jobs/builds is currently not available

The workaround suggested in the community forum is to use a repository dispatch event with a custom event type

Alternatives to repository dispatch event

We could trigger the job on

  • GH release creation using the related GH event

GitHub Token

In addition, we may have to use a custom github token if the default action one has not enough permissions, see https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token

Master Branch Protection

As the master branch currently does not accept push without creating Pull Request, we may

Release resources

Alternatives

https://semantic-release.gitbook.io/semantic-release/

@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Mar 26, 2020
@tbouffard tbouffard added this to the 0.1.2 milestone Mar 26, 2020
@tbouffard tbouffard changed the title [INFRA] Automate releases [INFRA] Automate releases (build part) Mar 30, 2020
@tbouffard tbouffard modified the milestones: 0.1.2, 0.1.3 Apr 15, 2020
@tbouffard tbouffard modified the milestones: 0.1.3, 0.1.4 May 20, 2020
@tbouffard tbouffard modified the milestones: 0.1.4, 0.1.5 Jun 2, 2020
@tbouffard tbouffard modified the milestones: 0.1.5, 0.1.6 Jun 25, 2020
@aibcmars aibcmars modified the milestones: 0.1.6, 0.1.7 Jul 15, 2020
@tbouffard tbouffard modified the milestones: 0.1.7, 0.2.0 Aug 10, 2020
@aibcmars aibcmars modified the milestones: 0.2.0, 0.3.0 Aug 25, 2020
@aibcmars aibcmars self-assigned this Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants