Skip to content

Commit

Permalink
Release changes (#729)
Browse files Browse the repository at this point in the history
* Set version in opam files

* Fix equations dependency

* Fix build.yml

* Fix opam files and add make-opam-files script

* Update version bounds

* Back to 8.16.dev versions
  • Loading branch information
mattam82 authored Jul 4, 2022
1 parent 5f3f703 commit 22d17db
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
before_install: |
startGroup "Print opam config"
opam config list; opam repo list; opam list
opam pin -n coq-equations http://github.com/mattam82/Coq-Equations.git#8.16
opam install --confirm-level=unsafe-yes coq-equations.8.16.dev
endGroup
script: |
startGroup "Build project"
Expand Down
2 changes: 1 addition & 1 deletion coq-metacoq-erasure.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion coq-metacoq-pcuic.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion coq-metacoq-safechecker.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand Down
7 changes: 3 additions & 4 deletions coq-metacoq-template.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#master"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand All @@ -27,9 +27,8 @@ install: [
]
depends: [
"stdlib-shims"
"ocaml" {>= "4.07.1"}
"coq" { > "8.16~" & < "8.17~" }
"coq-equations" { = "8.16.dev" }
"coq" { >= "8.16" & < "8.17~" }
"coq-equations" { >= "1.3" }
]
synopsis: "A quoting and unquoting library for Coq in Coq"
description: """
Expand Down
2 changes: 1 addition & 1 deletion coq-metacoq-translations.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion coq-metacoq.opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ opam-version: "2.0"
version: "8.16.dev"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Danil Annenkov <danil.v.annenkov@gmail.com>"
Expand Down
23 changes: 23 additions & 0 deletions make-opam-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#/usr/bin/env bash
echo "Target directory: " $1
echo "Target version: " $2
echo "Releases package: " $3

wget $3
archive=`basename $3`
hash=`shasum -a 512 $archive | cut -f 1 -d " "`

echo "Shasum = " $hash

for f in *.opam;
do
opamf=${f/.opam/};
target=$1/$opamf/$opamf.$2/opam;
echo $opamf;
mkdir $1/$opamf/$opamf.$2
gsed -e "/^version:.*/d" $f > $target
echo url { >> $target
echo " src:" \"$3\" >> $target
echo " checksum:" \"sha512=$hash\" >> $target
echo } >> $target
done

0 comments on commit 22d17db

Please sign in to comment.