Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This is my first time updating an opam package, so please let me know if I did something wrong or missed a step!
Here's what I basically did
# Clone the repo and copy the old version of the package git clone email@example.com:gabelevi/opam-repository.git cd opam-repository/packages/flowtype cp -r flowtype.0.1.0 flowtype.0.3.0 # Get checksum for the new version wget -q -O- https://github.com/facebook/flow/archive/v0.3.0.tar.gz | md5sum # Edit url file and update url and checksum vim flowtype.0.3.0/url # Verify the package works mkdir /tmp/testing opam repo add testing /tmp/testing cp -r flowtype.0.3.0 /tmp/testing/packages/flowtype.0.3.0 opam update testing opam install flowtype.0.3.0 flow --version cd /tmp/testing && opam-admin check && opam-admin make -g flowtype # Clean up after myself opam repo remove testing opam update opam upgrade