Skip to content

Commit a829eea

Browse files
authored
remove extra artifact from release-archive (#1668)
* do not separately save compliance report Report is already included in the release tarball * update docs * fix typo: `ssldc` => `ssdlc`
1 parent b9e9e1d commit a829eea

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Earthfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,19 +203,18 @@ release-archive:
203203
# The full link to the build for this commit
204204
LET waterfall_url = "https://spruce.mongodb.com/version/${base}_${revision}"
205205
# Insert the URL into the SSDLC report
206-
COPY etc/ssdlc.md ssldc_compliance_report.md
206+
COPY etc/ssdlc.md ssdlc_compliance_report.md
207207
RUN sed -i "
208208
s|@waterfall_url@|$waterfall_url|g
209209
s|@version@|$version|g
210-
" ssldc_compliance_report.md
210+
" ssdlc_compliance_report.md
211211
# Generate the archive
212212
RUN git archive -o release.tar.gz \
213213
--prefix="$prefix/" \ # Set the archive path prefix
214214
"$revision" \ # Add the source tree
215215
--add-file cyclonedx.sbom.json \ # Add the SBOM
216-
--add-file ssldc_compliance_report.md
216+
--add-file ssdlc_compliance_report.md
217217
SAVE ARTIFACT release.tar.gz
218-
SAVE ARTIFACT ssldc_compliance_report.md
219218

220219
# Obtain the signing public key. Exported as an artifact /c-driver.pub
221220
signing-pubkey:

docs/dev/releasing.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ same name without the `.asc` suffix.
417417
$ ls dist/
418418
mongo-c-driver-1.27.2.tar.gz
419419
mongo-c-driver-1.27.2.tar.gz.asc
420-
ssdlc_compliance_report.md
421420
422421
.. note::
423422

0 commit comments

Comments
 (0)