#1584 Correct metadata-archive updating in release-candidate.sh
Opened a month ago by adamwill. Modified a month ago
adamwill/pungi-fedora rc-series-fix  into  f43

file modified
+2 -2
@@ -201,11 +201,11 @@ 

  # Copy the metadata to the non-garbage-collected metadata archive

  YEAR=$(echo "$COMPOSE_ID_2"|sed -e 's|Fedora-.*-||g'|cut -c1-4)

  mkdir -p "${MD_ARCHIVE_DIR}/${YEAR}/${COMPOSE_ID_2}"

- cp "${DESTDIR}"/compose/metadata/*.json "${MD_ARCHIVE_DIR}/${YEAR}/${COMPOSE_ID_2}/"

+ cp "${TARGET_DIR}/${COMPOSE_ID_2}"/compose/metadata/*.json "${MD_ARCHIVE_DIR}/${YEAR}/${COMPOSE_ID_2}/"

  # Add the compose ID to the 'series' file which records the

  # compose IDs for each SHORT name in order

  mkdir -p "${SERIES_DIR}"

- echo "${COMPOSE_ID_2} ${LABEL}" >> "${SERIES_DIR}/${SHORT}-${RELEASE}"

+ echo "${COMPOSE_ID_2} ${LABEL}" >> "${SERIES_DIR}/${SHORT}-${FEDORA_VERSION}"

  

  echo "========================================"

  echo "LET INTERESTED PERSONS KNOW THAT THE RSYNC IS COMPLETE."

It was writing the series to Fedora-fXX instead of Fedora-XX, and
the source path for the metadata was completely wrong so we weren't
actually copying any.

We obviously aren't doing candidates for F43 any more, but I assume
we'll copy this for F44 branch when we make it.

Signed-off-by: Adam Williamson awilliam@redhat.com

rebased onto 1aab3c6

a month ago
Metadata