Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for [coq-metacoq*]. #2760

Closed
wants to merge 1 commit into from
Closed

Release for [coq-metacoq*]. #2760

wants to merge 1 commit into from

Conversation

rlepigre
Copy link

Created using the following script:

#!/bin/bash

SRC_DIR=metacoq
OPAM_DIR=opam-coq/released
VERSION="1.3+8.18"
OPAM_SRC="git+https://github.com/MetaCoq/metacoq#1fcd7ffbc7ec19f2849aa92cc9874edee7d38828"
OPAM_SHA512=""

for PKG in $(ls "${SRC_DIR}/"*.opam); do
  PKG_NAME="$(basename "${PKG}")"
  PKG_NAME="${PKG_NAME%.opam}"
  TARGET_DIR="${OPAM_DIR}/packages/${PKG_NAME}/${PKG_NAME}.${VERSION}"
  echo "${PKG}${TARGET_DIR}/opam"
  mkdir -p "${TARGET_DIR}"
  cp "${PKG}" "${TARGET_DIR}/opam"

  echo "url {" >> "${TARGET_DIR}/opam"
  echo "  src: \"${OPAM_SRC}\"" >> "${TARGET_DIR}/opam"
  if [[ ! -z "$OPAM_SHA512" ]]; then
    echo "  checksum: \"sha512=${OPAM_SHA512}\"" >> "${TARGET_DIR}/opam"
  fi
  echo "}" >> "${TARGET_DIR}/opam"
done
  • update when the release is tagged.

@rlepigre
Copy link
Author

Do I read correctly that CI timed-out after 3 hours? I tried installing the coq-metacoq.1.3+8.18 form my branch in a fresh switch, and installing it as well as Coq and its other dependencies took no more than 20 minutes, probably less.

@palmskog
Copy link
Contributor

Yes, CI times out since each package installation is tested in isolation. There used to be a way to avoid running CI for certain packages, but last I tried it doesn't work.

@rlepigre rlepigre changed the title Release for [coq-metacoq*.1.3+8.18]. Release for [coq-metacoq*]. Oct 19, 2023
@yforster
Copy link
Contributor

yforster commented Nov 1, 2023

I've added a 1.2.1 release of MetaCoq here: #2809

@rlepigre
Copy link
Author

rlepigre commented Nov 1, 2023

Closing in favour of #2809.

@rlepigre rlepigre closed this Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants