@sentry/craft 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +8 -2
- package/dist/craft +176 -176
- package/dist/craft.map +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1198,12 +1198,18 @@ targets:
|
|
|
1198
1198
|
|
|
1199
1199
|
Takes a tarball and pushes the unpacked contents to a git repository.
|
|
1200
1200
|
|
|
1201
|
+
**Environment**
|
|
1202
|
+
|
|
1203
|
+
| Name | Description |
|
|
1204
|
+
| ------------------ | ------------------------------------------------------------------------------------------------ |
|
|
1205
|
+
| `GITHUB_API_TOKEN` | GitHub PAT that will be used for authentication when a the `repositoryUrl` host is `github.com`. |
|
|
1206
|
+
|
|
1201
1207
|
**Configuration**
|
|
1202
1208
|
|
|
1203
1209
|
| Option | Description |
|
|
1204
1210
|
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1205
1211
|
| `archive` | Regular expression to match a `.tgz` file in the build artifacts. The content of the found file will be pushed to the git repository. Needs to match exactly one file. |
|
|
1206
|
-
| `repositoryUrl` | Url to the git remote git repository.
|
|
1212
|
+
| `repositoryUrl` | Url to the git remote git repository. Must use http or https protocol! (no `git@...`) |
|
|
1207
1213
|
| `branch` | Which repository branch to push to. |
|
|
1208
1214
|
| `stripComponents` | **optional**. How many leading path elements should be removed when unpacking the tarball. Default: 0 (see `tar --strip-components` option) |
|
|
1209
1215
|
| `createTag` | **optional**. Whether to attach a tag to the created commit. The content of the tag is gonna be equal to the release version passed to craft ("NEW-VERSION"). Default: `false` |
|
|
@@ -1214,7 +1220,7 @@ Takes a tarball and pushes the unpacked contents to a git repository.
|
|
|
1214
1220
|
targets:
|
|
1215
1221
|
- name: commit-on-git-repository
|
|
1216
1222
|
archive: /^sentry-deno-\d.*\.tgz$/
|
|
1217
|
-
repositoryUrl:
|
|
1223
|
+
repositoryUrl: https://github.com/getsentry/sentry-deno
|
|
1218
1224
|
stripComponents: 1
|
|
1219
1225
|
branch: main
|
|
1220
1226
|
createTag: true
|