@sentry/craft 2.21.6 → 2.22.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/README.md +33 -32
- package/dist/craft +3537 -6251
- package/package.json +6 -9
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ craft publish 1.2.3
|
|
|
50
50
|
Create a `.craft.yml` in your project root:
|
|
51
51
|
|
|
52
52
|
```yaml
|
|
53
|
-
minVersion:
|
|
53
|
+
minVersion: '2.0.0'
|
|
54
54
|
changelog:
|
|
55
55
|
policy: auto
|
|
56
56
|
targets:
|
|
@@ -63,24 +63,24 @@ See the [configuration reference](https://getsentry.github.io/craft/configuratio
|
|
|
63
63
|
|
|
64
64
|
## Supported Targets
|
|
65
65
|
|
|
66
|
-
| Target
|
|
67
|
-
|
|
68
|
-
| `github`
|
|
69
|
-
| `npm`
|
|
70
|
-
| `pypi`
|
|
71
|
-
| `crates`
|
|
72
|
-
| `nuget`
|
|
73
|
-
| `docker`
|
|
74
|
-
| `brew`
|
|
75
|
-
| `gcs`
|
|
76
|
-
| `gh-pages`
|
|
77
|
-
| `cocoapods`
|
|
78
|
-
| `gem`
|
|
79
|
-
| `maven`
|
|
80
|
-
| `hex`
|
|
81
|
-
| `pub-dev`
|
|
82
|
-
| `aws-lambda-layer` | AWS Lambda layers
|
|
83
|
-
| `powershell`
|
|
66
|
+
| Target | Description |
|
|
67
|
+
| ------------------ | ------------------------------------- |
|
|
68
|
+
| `github` | GitHub releases and tags |
|
|
69
|
+
| `npm` | NPM registry (with workspace support) |
|
|
70
|
+
| `pypi` | Python Package Index |
|
|
71
|
+
| `crates` | Rust crates.io |
|
|
72
|
+
| `nuget` | .NET NuGet |
|
|
73
|
+
| `docker` | Docker registries |
|
|
74
|
+
| `brew` | Homebrew formulas |
|
|
75
|
+
| `gcs` | Google Cloud Storage |
|
|
76
|
+
| `gh-pages` | GitHub Pages |
|
|
77
|
+
| `cocoapods` | CocoaPods |
|
|
78
|
+
| `gem` | RubyGems |
|
|
79
|
+
| `maven` | Maven Central |
|
|
80
|
+
| `hex` | Elixir Hex |
|
|
81
|
+
| `pub-dev` | Dart/Flutter pub.dev |
|
|
82
|
+
| `aws-lambda-layer` | AWS Lambda layers |
|
|
83
|
+
| `powershell` | PowerShell Gallery |
|
|
84
84
|
|
|
85
85
|
See the [targets documentation](https://getsentry.github.io/craft/targets/) for configuration details.
|
|
86
86
|
|
|
@@ -117,22 +117,22 @@ jobs:
|
|
|
117
117
|
|
|
118
118
|
**Inputs:**
|
|
119
119
|
|
|
120
|
-
| Input
|
|
121
|
-
|
|
122
|
-
| `version`
|
|
123
|
-
| `merge_target`
|
|
124
|
-
| `force`
|
|
125
|
-
| `blocker_label` | Label that blocks releases
|
|
126
|
-
| `publish_repo`
|
|
120
|
+
| Input | Description | Default |
|
|
121
|
+
| --------------- | --------------------------------------------------------------------------------------------- | ------------------------------------ |
|
|
122
|
+
| `version` | Version to release (semver, "auto", "major", "minor", "patch") | Uses `versioning.policy` from config |
|
|
123
|
+
| `merge_target` | Target branch to merge into | Default branch |
|
|
124
|
+
| `force` | Force release even with blockers | `false` |
|
|
125
|
+
| `blocker_label` | Label that blocks releases | `release-blocker` |
|
|
126
|
+
| `publish_repo` | Repository for publish issues. Use `"self"` to create issues in the source repository itself. | `{owner}/publish` |
|
|
127
127
|
|
|
128
128
|
**Outputs:**
|
|
129
129
|
|
|
130
|
-
| Output
|
|
131
|
-
|
|
132
|
-
| `version`
|
|
133
|
-
| `branch`
|
|
134
|
-
| `sha`
|
|
135
|
-
| `changelog` | The changelog for this release
|
|
130
|
+
| Output | Description |
|
|
131
|
+
| ----------- | ------------------------------------ |
|
|
132
|
+
| `version` | The resolved version being released |
|
|
133
|
+
| `branch` | The release branch name |
|
|
134
|
+
| `sha` | The commit SHA on the release branch |
|
|
135
|
+
| `changelog` | The changelog for this release |
|
|
136
136
|
|
|
137
137
|
### Changelog Preview (Reusable Workflow)
|
|
138
138
|
|
|
@@ -151,6 +151,7 @@ jobs:
|
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
The workflow will:
|
|
154
|
+
|
|
154
155
|
- Generate the upcoming changelog including the PR's changes
|
|
155
156
|
- Highlight entries from the PR using blockquote style (left border)
|
|
156
157
|
- Post a comment on the PR with the preview
|