Skip to content

feat: centralize cargo publish release condition #38

Description

@bshek-xitaso

In csaf and ssvc, the cargo publish job currently uses the same condition:

if: startsWith(github.ref, 'refs/tags/v') &&
    !contains(github.ref, 'beta') &&
    !contains(github.ref, 'alpha')

In vers-rs, publishing is instead controlled by the workflow trigger:

on:
  push:
    tags:
      - "v*"

Since we are planning to use the shared cargo publish workflow, perhaps the release condition could also be centralized there.

We should decide whether the publish policy should actually be the same for all repositories, especially regarding alpha and beta releases.

Activity

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