ci: properly tag versions of library (#23)

Fixes #22
This commit is contained in:
Julian Tölle 2024-05-19 17:20:52 +02:00 committed by GitHub
parent caaa5435bb
commit 043c73cf7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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