ci: properly tag versions of library

This commit is contained in:
Julian Tölle 2024-05-19 17:16:20 +02:00
parent caaa5435bb
commit 0d84ed8479
No known key found for this signature in database
GPG key ID: 23645912EA28C2DB
3 changed files with 21 additions and 4 deletions

View file

@ -2,11 +2,28 @@
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-component-in-tag": false,
"include-v-in-tag": true,
"release-type": "go",
"group-pull-request-title-pattern": "chore(${branch}): release ${version}",
"packages": {
".": {
"release-type": "go",
"component": "cli",
"package-name": "hcloud-upload-image",
"extra-files": ["internal/version/version.go"]
},
"hcloudimages": {
"component": "hcloudimages",
"package-name": "hcloudimages",
"include-component-in-tag": true,
"tag-separator": "/"
}
}
},
"plugins": [
{
"type": "linked-versions",
"groupName": "repo",
"components": [
"cli", "hcloudimages"
]
}
]
}

View file

@ -1 +1 @@
{".":"0.2.1"}
{".":"0.2.1","hcloudimages":"0.2.0"}

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_GH_TOKEN }}
config-file: .github/release-please-config.json