- Bump version in
meson.build. - Change upstream Jasmine version in the
lib/update-jasmine.shscript. - Delete
lib/jasmine.js. - Run
cd lib; ./update-jasmine.shto regeneratelib/jasmine.jsfrom the new upstream version. - Resolve patch conflicts with the new upstream version if necessary.
- If making a new major release, update
test/jasmineIntegrationTest.jsandtest/focusedSpecIntegrationTest.jsfrom the appropriate point in the history ofhttps://github.com/jasmine/jasmine.github.io/tree/d9b48e17/_tutorials/src. Currently we use0_your_first_suite.jsandcustom_matcher.js, but there may be new features that should be included as well. Remove the browser feature detection and put the "long asynchronous suite" test inside a check for an environment variable. - If making a new major release, see if there are any new features that we can use to improve jasmine-gjs's own tests.
- Run
meson test. - Make a commit.
- Write release notes in
NEWS.md.
- Update the version number in
jasmine-gjs.spec. - Add a changelog entry in
jasmine-gjs.spec. - Make any other necessary changes to
jasmine-gjs.spec. - Run
ninja dist. - Copy
jasmine-gjs-<VERSION>.tar.xztorpmbuild/SOURCES. - Copy
jasmine-gjs.spectorpmbuild/SPECS. - Run
rpmbuild -ba /path/to/rpmbuild/SPECS/jasmine-gjs.specto ensure that everything builds OK. - Make a commit.
- Update the changelog with
dch. (Distribution =unstable) - Make any other necessary changes to the
debiandirectory. - Run
debuild -uc -us -bto ensure that everything builds OK. - Make a commit.
- Run
ninja dist. - Copy
jasmine-gjs-<VERSION>.tar.xzto../jasmine-gjs_<VERSION>.orig.tar.xz. - Extract the tarball.
- Enter the directory and run
debuild -uc -us -Sto build a source package.
- Run
git tag <VERSION>; version is just dotted numbers, e.g.2.2.1, novorVersion. - Push the tag to GitHub.
- Copy the release notes from
NEWS.mdinto https://github.com/ptomato/jasmine-gjs/releases - Attach the tarball and the sha256sum from the
meson-distdirectory to the release notes. - Attach the RPM packages from
/path/to/rpmbuild/RPMS/and/path/to/rpmbuild/SRPMSto the release notes. - Attach the Debian packages (
jasmine-gjs_<VERSION>-1_all.deb,jasmine-gjs_<VERSION>.orig.tar.xz,jasmine-gjs_<VERSION>-1.debian.tar.xz, andjasmine-gjs_<VERSION>-1.dsc) to the release notes.