Skip to content

Commit

Permalink
fix: gitlab tag examples
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Sep 12, 2021
1 parent 3265b6e commit c019a1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions services/gitlab/gitlab-tag.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export default class GitlabTag extends GitLabBase {
user: 'shields-ops-group',
repo: 'tag-test',
},
queryParams: { sort: 'semver' },
staticPreview: this.render({ name: 'v2.0.0' }),
queryParams: { sort: 'date' },
staticPreview: this.render({ version: 'v2.0.0' }),
},
{
title: 'GitLab tag (latest by SemVer)',
Expand All @@ -44,7 +44,7 @@ export default class GitlabTag extends GitLabBase {
repo: 'tag-test',
},
queryParams: { sort: 'semver' },
staticPreview: this.render({ name: 'v4.0.0' }),
staticPreview: this.render({ version: 'v4.0.0' }),
},
{
title: 'GitLab tag (latest by SemVer pre-release)',
Expand All @@ -56,7 +56,7 @@ export default class GitlabTag extends GitLabBase {
sort: 'semver',
include_prereleases: null,
},
staticPreview: this.render({ name: 'v5.0.0-beta.1' }),
staticPreview: this.render({ version: 'v5.0.0-beta.1', sort: 'semver' }),
},
{
title: 'GitLab tag (custom instance)',
Expand All @@ -69,7 +69,7 @@ export default class GitlabTag extends GitLabBase {
include_prereleases: null,
gitlab_url: 'https://gitlab.gnome.org',
},
staticPreview: this.render({ name: 'v2.51.4' }),
staticPreview: this.render({ version: 'v2.51.4' }),
},
]

Expand Down

0 comments on commit c019a1f

Please sign in to comment.