Skip to content

Commit

Permalink
Improve release doc
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Mar 21, 2024
1 parent f8deb46 commit 88256f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions release_checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ Use this checklist to track the things to check before a release.
action python3
---------------------------------------
make test [ ]
./runtest.sh unit [ ]
./runtest.sh unpickle [ ]
./runtest.sh valgrind [ ]
./runtest.sh mallocfaults [ ]
./runtest.sh reallocfaults [ ]
./runtest.sh pycallfaults [ ]
./runtest.sh coverage [ ]


Once you ran the coverage, copy and commit the coverage/report to etc/coverage
Once you ran the coverage, copy and commit the coverage/ report files to etc/coverage


3. marge and tag the release once everything is A-OK
3. Merge and tag the release once everything is A-OK.

This will trigger the build of wheels and source archives.


4. Finally:

- collect the built wheels and sdist from the CI run for the tag run (artifact.zip)
- extract the zip
- run a clamscan and a twine check on these
- publish on PyPI with twine upload.
- Collect the built wheels and sdist from the CI run for the tag run (artifact.zip)
- Extract the zip.
- Run a clamscan and a "twine check" on these.
- Publish on PyPI with "twine upload".
4 changes: 2 additions & 2 deletions runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function handle_coverage

export CFLAGS="--coverage"
force_rebuild
run_unittests
make test

local DIR=coverage
local INDEX=pyahocorasick.html
Expand All @@ -317,7 +317,7 @@ function handle_release
run_unpickletests
fi

# 2. build with memory debug and run unit tests and unpickle tests
# 2. build with memory debug and run unit tests and unpickle tests separately
if true
then
export CFLAGS="${MEMORY_DEBUG}"
Expand Down

0 comments on commit 88256f5

Please sign in to comment.