Skip to content

Commit

Permalink
version tracking for gitversion
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Dec 11, 2024
1 parent 82a4f34 commit aee2772
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
15 changes: 15 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,20 @@
"matchManagers": ["npm"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"description": [
"Process custom dependencies"
],
"fileMatch": [
"(^|/).+\\.ya?ml$"
],
"matchStrings": [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\\n.+: (&\\S+\\s)?(?<currentValue>\\S+)"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}"
}
]
}
7 changes: 4 additions & 3 deletions .github/workflows/close-milestone6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.x'
includePrerelease: true
# renovate: datasource=github-releases depName=gittools/gitversion
versionSpec: '6.1.0'

- name: Install GitReleaseManager
uses: gittools/actions/gitreleasemanager/[email protected]
with:
versionSpec: '0.18.x'
# renovate: datasource=github-releases depName=gittools/gitreleasemanager
versionSpec: '0.18.0'

- name: Use GitVersion
id: gitversion
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/draft-release6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.x'
includePrerelease: true
# renovate: datasource=github-releases depName=gittools/gitversion
versionSpec: '6.1.0'

- name: Use GitVersion
id: gitversion
uses: gittools/actions/gitversion/[email protected]
- name: Install GitReleaseManager
uses: gittools/actions/gitreleasemanager/[email protected]
with:
# renovate: datasource=github-releases depName=gittools/gitreleasemanager
versionSpec: '0.18.0'

- name: Create Milestone
uses: WyriHaximus/github-action-create-milestone@v1
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/update-milestone6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ jobs:
if: ${{ github.event.action == 'opened' }}
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.x'
includePrerelease: true
# renovate: datasource=github-releases depName=gittools/gitversion
versionSpec: '6.1.0'

- name: Install GitReleaseManager
if: ${{ github.event.action == 'opened' }}
uses: gittools/actions/gitreleasemanager/[email protected]
with:
versionSpec: '0.18.x'
# renovate: datasource=github-releases depName=gittools/gitreleasemanager
versionSpec: '0.18.0'

- name: Use GitVersion
if: ${{ github.event.action == 'opened' }}
Expand Down

0 comments on commit aee2772

Please sign in to comment.