agda-future-branch-releases.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Some notes when releasing from the future branch (INCOMPLETE).
  2. * Get a clean Agda repository.
  3. git clone git@github.com:agda/agda agda-release
  4. cd agda-release
  5. git checkout future
  6. * The version of the release is current version in the future branch, so if
  7. this is 2.5.0 the versions used in these notes are:
  8. VERSION=<current-version>
  9. VERSION=2.5.0
  10. NEXT_MASTER_VERSION=<current-version-plus-0.0.1>
  11. NEXT_MASTER_VERSION=2.5.1
  12. NEXT_FUTURE_VERSION=<current-version-plus-0.1.0>
  13. NEXT_FUTURE_VERSION=2.6.0
  14. * Upload the tarball and the documentation to Hackage (tested with
  15. cabal-install >= 2.0.0.0):
  16. cd $BASE
  17. cabal upload dist/Agda-$VERSION.tar.gz
  18. cabal upload -d dist/Agda-$VERSION-docs.tar.gz
  19. * Update branches
  20. ** Merge future into master
  21. git checkout master
  22. git merge future
  23. ** Update the version numbers to $NEXT_MASTER_VERSION in $FILES.
  24. ** Add into the Makefile:
  25. # --program-suffix is not for the executable name in
  26. # $(BUILD_DIR)/build/, only for installing it into .cabal/bin
  27. override CABAL_OPTS+=--program-suffix=-$(VERSION)
  28. AGDA_MODE=agda-mode-$(VERSION)
  29. ** Commit the above changes.
  30. ** Merge the master back into the future branch.
  31. git checkout future
  32. git merge master
  33. * Update the version numbers to $NEXT_FUTURE_VERSION in $FILES.
  34. * Remove from the Makefile:
  35. # --program-suffix is not for the executable name in
  36. # $(BUILD_DIR)/build/, only for installing it into .cabal/bin
  37. override CABAL_OPTS+=--program-suffix=-$(VERSION)
  38. AGDA_MODE=agda-mode-$(VERSION)