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

add release type logic #33

Open
guysaar223 opened this issue Mar 20, 2022 · 1 comment
Open

add release type logic #33

guysaar223 opened this issue Mar 20, 2022 · 1 comment
Assignees

Comments

@guysaar223
Copy link
Member

guysaar223 commented Mar 20, 2022

add release type with array type

addReleaseType(version: string, releaseType: string)
removeReleaseType(version: string, releaseType: string)

need edit the index.json file per version

[
  {
    "version": "0.0.315",
    "date": "2022-03-17",
    "releaseType": ["nightly"]
  },
  {
    "version": "0.0.316",
    "date": "2022-03-18",
    "releaseType": ["stable", "nightly"]
  }
]

@zkochan
Copy link
Member

zkochan commented Jul 3, 2022

I would suggest the next format instead:

[
  {
    "version": "0.0.315",
    "date": "2022-03-17",
    "nightly": true
  },
  {
    "version": "0.0.316",
    "date": "2022-03-18",
    "nightly": true,
    "stable": true
  }
]

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

No branches or pull requests

3 participants