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 changes #729

Merged
merged 6 commits into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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: "[email protected]"
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 <[email protected]>"
"Danil Annenkov <[email protected]>"
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