@sentry/craft 1.21.0 → 2.0.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 +11 -13
- package/dist/craft +187 -186
- package/dist/craft.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -526,7 +526,7 @@ contains any one of `preview`, `pre`, `rc`, `dev`,`alpha`, `beta`, `unstable`,
|
|
|
526
526
|
|
|
527
527
|
| Name | Description |
|
|
528
528
|
| -------------- | ------------------------------------------------------------------ |
|
|
529
|
-
| `GITHUB_TOKEN` | Personal GitHub API token (see https://github.com/settings/tokens) |
|
|
529
|
+
| `GITHUB_TOKEN` | Personal GitHub API token (see <https://github.com/settings/tokens>) |
|
|
530
530
|
|
|
531
531
|
**Configuration**
|
|
532
532
|
|
|
@@ -617,7 +617,7 @@ like [getsentry/pypi]
|
|
|
617
617
|
|
|
618
618
|
| Name | Description |
|
|
619
619
|
| -------------- | ------------------------------------------------------------------ |
|
|
620
|
-
| `GITHUB_TOKEN` | Personal GitHub API token (see https://github.com/settings/tokens) |
|
|
620
|
+
| `GITHUB_TOKEN` | Personal GitHub API token (see <https://github.com/settings/tokens>) |
|
|
621
621
|
|
|
622
622
|
**Configuration**
|
|
623
623
|
|
|
@@ -829,7 +829,7 @@ targets:
|
|
|
829
829
|
|
|
830
830
|
### Sentry Release Registry (`registry`)
|
|
831
831
|
|
|
832
|
-
The target will update the Sentry release registry repo(https://github.com/getsentry/sentry-release-registry
|
|
832
|
+
The target will update the Sentry release registry repo(<https://github.com/getsentry/sentry-release-registry/>) with the latest version of the
|
|
833
833
|
project `craft` is used with. The release registry repository will be checked out
|
|
834
834
|
locally, and then the new version file will be created there, along with the necessary
|
|
835
835
|
symbolic links.
|
|
@@ -904,17 +904,16 @@ targets:
|
|
|
904
904
|
|
|
905
905
|
### Docker (`docker`)
|
|
906
906
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
non-idempotent targets, not for the Docker target.
|
|
907
|
+
Copies an existing source image tagged with the revision SHA to a new target
|
|
908
|
+
tagged with the released version. No release assets are required for this target
|
|
909
|
+
except for the source image at the provided source image location so it would be
|
|
910
|
+
a good idea to add a status check that ensures the source image exists, otherwise
|
|
911
|
+
`craft publish` will fail at the copy step, causing an interrupted publish.
|
|
912
|
+
This is an issue for other, non-idempotent targets, not for the Docker target.
|
|
914
913
|
|
|
915
914
|
**Environment**
|
|
916
915
|
|
|
917
|
-
`docker` executable (or something equivalent) must be installed on the system.
|
|
916
|
+
`docker` executable (or something equivalent) with BuildKit must be installed on the system.
|
|
918
917
|
|
|
919
918
|
| Name | Description |
|
|
920
919
|
| ----------------- | ------------------------------------------ |
|
|
@@ -1159,8 +1158,7 @@ For this target to work correctly, either `dart` must be installed on the system
|
|
|
1159
1158
|
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1160
1159
|
| `dartCliPath` | **optional** Path to the Dart CLI. It must be executable by the calling process. Defaults to `dart`. |
|
|
1161
1160
|
| `packages` | **optional** List of directories to be released, relative to the root. Useful when a single repository contains multiple packages. When skipped, root directory is assumed as the only package. |
|
|
1162
|
-
| `skipValidation` | **optional** Publishes the package without going through validation steps, such as analyzer & dependency checks. This is useful in particular situations when package maintainers know why the validation fails and wish to side step the issue. For example, there may be analyzer issues due to not following the current (latest) dart SDK recommendation because the package needs to maintain the package compatibility with an old SDK version.
|
|
1163
|
-
This option should be used with caution and only after testing and verifying the reported issue shouldn't affect the package. It is advisable to do an alpha pre-release to further reduce the chance of a potential negative impact. |
|
|
1161
|
+
| `skipValidation` | **optional** Publishes the package without going through validation steps, such as analyzer & dependency checks. <br /> This is useful in particular situations when package maintainers know why the validation fails and wish to side step the issue. For example, there may be analyzer issues due to not following the current (latest) dart SDK recommendation because the package needs to maintain the package compatibility with an old SDK version. <br /> This option should be used with caution and only after testing and verifying the reported issue shouldn't affect the package. It is advisable to do an alpha pre-release to further reduce the chance of a potential negative impact. |
|
|
1164
1162
|
|
|
1165
1163
|
**Example**
|
|
1166
1164
|
|