-
Notifications
You must be signed in to change notification settings - Fork 186
Release process memo
Files to correct:
- CHANGELOG.md - add release date
- Verovio.podspec - update the version
- bindings/iOS/all.h - recompile the VerovioFramework from xcode to make sure all headers are up-to-date
- bindings/java/pom.xml - update version
- codemeta.json - update version and date
- emscripten/npm/package.json - update version
- include/vrvdef.h - update version
Commit the master branch and push to the verovio repository.
Build Verovio from xcode in order to generate the release commit value via the git_commit.h
script.
From the ./emscripten
directory, run (with the appropriate VERSION):
version="VERSION"
./buildToolkit -c -H -M -v $version
./buildToolkit -c -H -l -M -v $version
./buildToolkit -c -w -M -v $version
./buildToolkit -c -H -w -M -v $version
./buildNpmPackage
Copy the files to the verovio.org
repository in:
./javascript/VERSION/
./javascript/latest
Update test-suite loaders and comparison page in:
- _includes/test-version.html (defaultOptions and loadExample)
- comparison.xhtml
- add previous book pdf version to book-archive (not for patch releases)
Commit and push to verovio.org repository.
Copy the changelog and add the *.zip
files
Find the previous the SHA_TO_TRUNCATE_TO of the previous release, then do
sha=SHA_TO_TRUNCATE_TO
git checkout --orphan temp $sha
git commit -m "Truncate history to version "
git rebase --onto temp $sha gh-pages
# Check with
git status
If everything is fine, do
git push -f
Run: npm publish
in ./emscripten/npm
Run:
pod trunk push Verovio.podspec
The ARTIFACT number should be retrieved from https://github.com/rism-digital/verovio/actions/runs/id
artifact="ARTIFACT"
python3 get-pypi-artifacts.py $artifact
cd $artifact-wheels
twine upload *
Delete previous development versions in https://test.pypi.org/manage/project/verovio/releases/
Nothing to do since verovio
is on the https://github.com/Homebrew/homebrew-core/blob/master/.github/autobump.txt list.
Previously, we had to run (left just in case):
brew bump-formula-pr verovio --url="https://github.com/rism-digital/verovio/archive/refs/tags/version-{$version-number}.tar.gz"
Where {$version-number}
should be replaced with the version of the release, e.g., 3.13.0
. This should open a PR on the homebrew GH page.
Merge verovio-doxygen:develop into verovio-doxygen:release
Merge develop
into master
.
Change version in _config.yml
.
Regenerate the content and push to the verovio-reference-book repository.
# install verovio with
python3 -m pip install verovio
# update options, methods, and mei-support with
python3 scripts/generate-methods.py release
python3 scripts/generate-options.py
python3 scripts/generate-mei-support.py release
# uninstall verovio with
python3 -m pip uninstall verovio
Files to correct:
- CHANGELOG.md - add release date
- Verovio.podspec - upcoming version
- bindings/java/pom.xml - upcoming version
- codemeta.json - upcoming version and date
- include/vrvdef.h - upcoming version
- bindings/python/.pypi-version
develop-tab
develop-mensural
develop-pypi