mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
ci: properly tag versions of library
This commit is contained in:
parent
caaa5435bb
commit
0d84ed8479
3 changed files with 21 additions and 4 deletions
21
.github/release-please-config.json
vendored
21
.github/release-please-config.json
vendored
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
2
.github/release-please-manifest.json
vendored
2
.github/release-please-manifest.json
vendored
|
|
@ -1 +1 @@
|
|||
{".":"0.2.1"}
|
||||
{".":"0.2.1","hcloudimages":"0.2.0"}
|
||||
|
|
|
|||
2
.github/workflows/release-please.yaml
vendored
2
.github/workflows/release-please.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue