-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information how to make a release
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## How to make a release | ||
|
||
Make sure main and data are in a clean state. | ||
|
||
export RELEASEDATE=2022-01-17 | ||
# Release for the main branch | ||
git tag -a v$RELEASEDATE | ||
# enter in editor: | ||
# v$RELEASEDATE | ||
# | ||
# Longer release details | ||
git push origin v$RELEASEDATE | ||
# Prepare data directory | ||
cd data | ||
# Avoid the tag being part of a branch that might be squashed | ||
git co --orphan data-release | ||
git rm --cached -r . | ||
rm -r * | ||
cd .. | ||
make data-update | ||
# check | ||
make data-status | ||
cd data | ||
git tag -a data-$RELEASEDATE | ||
# enter in editor: | ||
# data-$RELEASEDATE | ||
# | ||
# Longer release details | ||
git push origin data-$RELEASEDATE | ||
|