You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitLab Generic Package Repository for assets (#1189)
* Add option to use generic package repository
* Added name
* some debugging messages
* need projectId
* okthen
* actually use the id
* added check on fail.
* uploading wrong
* remove setting id
* remove manifest for testing
* Cleanup and test
* Cleaned up and setup tests
---------
Co-authored-by: Michael Link <michael@thelink.family>
Copy file name to clipboardexpand all lines: docs/gitlab-releases.md
+15
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,21 @@ later), you should set the `useIdsForUrls` flag to `true`:
118
118
}
119
119
```
120
120
121
+
### Asset Location
122
+
123
+
By default release assets are uploaded to the project's Markdown uploads API. If you want to use GitLab's Generic packages Repository set `useGenericPackageRepositoryForAssets` flag to true. `useIdsForUrls` is ignored from this API. You can set the package name to be uploaded to using `genericPackageRepositoryName` by default the name is `release-it`.
124
+
125
+
```json
126
+
{
127
+
"gitlab": {
128
+
"release": true,
129
+
"useGenericPackageRepositoryForAssets": true,
130
+
"genericPackageRepositoryName": "release-it",
131
+
"assets": ["dist/*.dmg"]
132
+
}
133
+
}
134
+
```
135
+
121
136
## Origin
122
137
123
138
The `origin` can be set to a string such as `"http://example.org:3000"` to use a different origin from what would be
0 commit comments