Skip to content

Commit

Permalink
ci: properly tag versions of library (#23)
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
apricote authored May 19, 2024
1 parent caaa543 commit 043c73c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
21 changes: 19 additions & 2 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"0.2.1"}
{".":"0.2.1","hcloudimages":"0.2.0"}
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 043c73c

Please sign in to comment.