|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
--- |
|
|
|
|
title: My Python release workflow |
|
|
|
|
tags: [python, git, workflow, aur, arch] |
|
|
|
|
updated: 2020-03-26 19:29 |
|
|
|
|
updated: 2020-05-21 17:53 |
|
|
|
|
description: A personal reminder with the instructions for releasing new versions of Python packages |
|
|
|
|
--- |
|
|
|
|
|
|
|
|
@ -94,7 +94,7 @@ in case of a new version release with some of my Python repositories.
|
|
|
|
|
2. go to the project's AUR git directory |
|
|
|
|
1. `cd ~/${projects_aur_git_directory}` |
|
|
|
|
2. update the sha256 checksum |
|
|
|
|
1. `checksum="$(wget -O - ${project_url_archive_file_last_version} | sha256sum)"` |
|
|
|
|
1. `checksum="$(wget -O - ${project_url_archive_file_last_version} | sha256sum | awk '{print $1}')"` |
|
|
|
|
2. update the `PKGBUILD` file with `${checksum}` |
|
|
|
|
3. test the changes |
|
|
|
|
1. `makepkg -rsi` |
|
|
|
@ -106,3 +106,6 @@ in case of a new version release with some of my Python repositories.
|
|
|
|
|
2. `git add PKGBUILD .SRCINFO` |
|
|
|
|
3. `git commit -m "New release."` |
|
|
|
|
4. `git push` |
|
|
|
|
|
|
|
|
|
9. if needed, update the entry on the |
|
|
|
|
[Free Software Directory](https://directory.fsf.org/wiki/Main_Page) |
|
|
|
|