- Bump version in
meson.build
. - Change upstream Jasmine version in the
lib/update-jasmine.sh
script. - Delete
lib/jasmine.js
. - Run
cd lib; ./update-jasmine.sh
to regeneratelib/jasmine.js
from the new upstream version. - Resolve patch conflicts with the new upstream version if necessary.
- If making a new major release, update
test/jasmineIntegrationTest.js
andtest/focusedSpecIntegrationTest.js
fromhttps://github.com/jasmine/jasmine.github.io/tree/master/_versions/<VERSION>/src
. Currently we useintroduction.js
,custom_equality.js
,custom_matcher.js
, andfocused_specs.js
, but there may be new features that should be included as well. Strip the documentation comments and the weird indentation. - 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.xz
torpmbuild/SOURCES
. - Copy
jasmine-gjs.spec
torpmbuild/SPECS
. - Run
rpmbuild -ba /path/to/rpmbuild/SPECS/jasmine-gjs.spec
to ensure that everything builds OK. - Make a commit.
- Update the changelog with
dch
. (Distribution =unstable
) - Make any other necessary changes to the
debian
directory. - Run
debuild -uc -us -b
to ensure that everything builds OK. - Make a commit.
- Run
ninja dist
. - Copy
jasmine-gjs-<VERSION>.tar.xz
to../jasmine-gjs_<VERSION>.orig.tar.xz
. - Extract the tarball.
- Enter the directory and run
debuild -uc -us -S
to build a source package.
- On OBS, check if repositories should be enabled for any new Fedora, Ubuntu, Debian, or OpenSUSE distribution releases.
- Copy
jasmine-gjs-<VERSION>.tar.xz
,jasmine-gjs.spec
,jasmine-gjs_<VERSION>.orig.tar.xz
,jasmine-gjs_<VERSION>-1.debian.tar.xz
, andjasmine-gjs_<VERSION>-1.dsc
into an OBS checkout of thehome:ptomato/jasmine-gjs
project. - Remove the files in the OBS checkout that are from the previous version.
- Run
osc addremove
. - Run
osc commit
. - Check that all builds passed.
- Add
jasmine-gjs-<VERSION>.tar.xz
to thedownloads
directory in theptomato/ptomato.github.com
repository. - Modify
opensource/jasmine/jasmine.md
to point to the newest version. - Make a commit.
- Back in the
jasmine-gjs
repository, rungit tag <VERSION>
; version is just dotted numbers, e.g.2.2.1
, nov
orVersion
. - Push the tag to GitHub.
- Copy the release notes from
NEWS.md
into https://github.com/ptomato/jasmine-gjs/releases - Attach the tarball and the sha256sum from the
meson-dist
directory to the release notes.