Skip to content

Commit 645e8d6

Browse files
authored
Add two steps to Release Guide (#2850)
* Create a branch for the release in addition to creating tags * Before generating docs, make sure the directory content is the release branch (#2848)
1 parent 5dd5dca commit 645e8d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/release-guide.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ procedure should be followed:
4747

4848
git push --follow-tags
4949

50+
* Create a branch for the release (since tags can't be branches)
51+
52+
git switch -c v${VERSION}-release
53+
git push origin v${VERSION}-release
54+
5055
* Make a new release on Github at https://github.com/agda/agda-stdlib/releases
5156

5257
* Submit a pull request to update the version of standard library on Homebrew
@@ -63,12 +68,13 @@ procedure should be followed:
6368

6469
* Generate and upload documentation for the released version:
6570

71+
git switch v${VERSION}-release # Make sure we are working with the release version just in case
6672
cp .github/tooling/* .
6773
cabal run GenerateEverything
6874
./index.sh
6975
agda -i. -idoc -isrc --html index.agda
7076
mv html v$VERSION
71-
git checkout gh-pages
77+
git switch gh-pages
7278
git add v$VERSION/*.html v$VERSION/*.css
7379
git commit -m "[ release ] doc for version $VERSION"
7480
git push

0 commit comments

Comments
 (0)