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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,16 @@ All notable changes to `src-cli` are documented in this file.
13
13
14
14
### Added
15
15
16
+
- Starting with Sourcegraph 3.30.0, the `published` field is optional in batch specs. If omitted, the publication state will be controlled through the Batch Changes UI. [#538](https://github.com/sourcegraph/src-cli/pull/538)
17
+
18
+
### Changed
19
+
20
+
### Fixed
21
+
22
+
## 3.29.1
23
+
24
+
### Added
25
+
16
26
- LSIF uploads now respect the `-insecure-skip-verify` flag to insecurely (surprise!) skip TLS certificate validation when communicating with Sourcegraph. [#559](https://github.com/sourcegraph/src-cli/pull/559)
varerrOptionalPublishedUnsupported=errors.New(`This Sourcegraph version requires the "published" field to be specified in the batch spec; upgrade to version 3.30.0 or later to be able to omit the published field and control publication from the UI.`)
13
+
14
+
funccreateChangesetSpecs(task*Task, resultexecutionResult, features batches.FeatureFlags) ([]*batches.ChangesetSpec, error) {
13
15
repo:=task.Repository.Name
14
16
15
17
tmplCtx:=&ChangesetTemplateContext{
@@ -26,7 +28,7 @@ func createChangesetSpecs(task *Task, result executionResult, autoAuthorDetails
26
28
varauthorEmailstring
27
29
28
30
iftask.Template.Commit.Author==nil {
29
-
ifautoAuthorDetails {
31
+
iffeatures.IncludeAutoAuthorDetails {
30
32
// user did not provide author info, so use defaults
0 commit comments