Skip to content

[Question] Shouldn't releases be automated?  #261

Closed

Description

@alecgerona

Just curious why releases don't happen as soon as changes are merged to master. The version is already bumped anyway.

Activity

  1. woile commented on Sep 3, 2020

    @woile
    Member

    Yes, they should. There's a bug, the new CI is using secrets.GITHUB_TOKEN, but we should go back to secrets.PERSONAL_ACCESS_TOKEN, because the first one doesn't trigger new builds :/

  2. alecgerona commented on Sep 3, 2020

    @alecgerona
    ContributorAuthor

    By new CI you mean github actions? Shouldn't we just merge bump version and publish into one workflow? So bump then publish.

  3. woile commented on Sep 3, 2020

    @woile
    Member

    mmm not really. The vision we have is a bit more decoupled.

    • a new commit to master triggers a bump version, which in turn will push a tag.
    • a new tag with the format v* triggers a publish. This means that if I want to make a release pushing a local tag we can (for example a release candidate).

    See it like "which git event triggers which action".

    The update I mention is when we started using our own github action, you can see the change here

    It's fixed now, a new release will happen soon

  4. alecgerona commented on Sep 3, 2020

    @alecgerona
    ContributorAuthor

    We can have release candidates or alphas or betas as branches, too. Just for context my flow draws from how semantic-release does it.

  5. alecgerona commented on Sep 6, 2020

    @alecgerona
    ContributorAuthor

    Hmm I think there's no release yet.

  6. woile commented on Sep 7, 2020

    @woile
    Member

    I've released the latest versions, but indeed it's not automatically releasing, I'll make an investigation

  7. alecgerona commented on Sep 7, 2020

    @alecgerona
    ContributorAuthor

    Thanks! Let's close this once it's resolved. If you need help lemme know.

  8. Lee-W commented on Sep 8, 2020

    @Lee-W
    Member
  9. alecgerona commented on Sep 8, 2020

    @alecgerona
    ContributorAuthor

    Seems like it.

  10. Lee-W commented on Sep 9, 2020

    @Lee-W
    Member

    Is there anything we need to do for this issue?

  11. woile commented on Sep 9, 2020

    @woile
    Member

    I manually pushed the tags in order to trigger the action.
    Since we introduced the github action, it doesn't trigger other github actions. We need to find out why.
    I'm still not sure, because I've updated the secret to use the PERSONAL_ACCESS_TOKEN.

    AFAIK if you use GITHUB_TOKEN it doesn't trigger other jobs, kind of like using [skip ci], so you have to use your own token to trigger the jobs. But again, I updated the token, and it didn't make a release. Maybe some leftovers, and the next release will work.

  12. Lee-W commented on Sep 9, 2020

    @Lee-W
    Member

    Got it. Thanks for the explanation 😄

  13. woile commented on Oct 27, 2020

    @woile
    Member

    Releases are working fine again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions