Debian Codegraph @

doc/release-guide.txt

raw
1 When releasing a new version of Agda standard library, the following
2 procedure should be followed:
3
4 #### Pre-release changes
5
6 * Update `doc/README.agda` by replacing 'development version' by 'version X.Y' in the title.
7
8 * Update the version to `X.Y` in:
9 - `agda-stdlib-utils.cabal`
10 - `standard-library.agda-lib`
11 - `CITATION.cff`
12 - `CHANGELOG.md`
13 - `README.md`
14 - `doc/installation-guide.md`
15
16 * Update the copyright year range in the LICENCE file, if necessary.
17
18 #### Pre-release tests
19
20 * Ensure that the library type-checks using Agda A.B.C:
21
22 make test
23
24 * Update submodule commit in the Agda repository:
25
26 cd agda
27 make fast-forward-std-lib
28
29 * Build the latest version of Agda
30
31 make quicker-install-bin
32
33 * Run the tests involving the library:
34
35 make test-using-std-lib
36
37 * Commit the changes and push
38
39 #### Release
40
41 * Tag version X.Y (do not forget to record the changes above first):
42
43 VERSION=X.Y
44 git tag -a v$VERSION -m "Agda standard library version $VERSION"
45
46 * Push all the changes and the new tag (requires Git >= 1.8.3):
47
48 git push --follow-tags
49
50 * Make a new release on Github at https://github.com/agda/agda-stdlib/releases
51
52 * Submit a pull request to update the version of standard library on Homebrew
53 (https://github.com/Homebrew/homebrew-core/blob/master/Formula/agda.rb)
54
55 * Update the Agda wiki:
56
57 ** The standard library page.
58
59 ** News section on the main page.
60
61 * Announce the release of the new version on the Agda mailing lists
62 (users and developers).
63
64 * Generate and upload documentation for the released version:
65
66 cp .github/tooling/* .
67 cabal run GenerateEverything.hs
68 ./index.sh
69 agda -i. -idoc -isrc --html index.agda
70 mv html v$VERSION
71 git checkout gh-pages
72 git add v$VERSION/*.html v$VERSION/*.css
73 git commit -m "[ release ] doc for version $VERSION"
74 git push
75
76 After that you can cleanup the generated files and copies of things taken from travis/
77 from your agda-stdlib directory.
78
79 #### Post-release
80
81 * Move the CHANGELOG.md into the old CHANGELOG folders
82
83 * Create new CHANGELOG.md file
84
85 * Update `standard-library.agda-lib` to the new version/milestone on `master`