Browse Source

packages: set user.name & user.email when building from sources

keep-around/99c3a66f75cef157b85e5a50e5d7f53380bf8153
Loïc Dachary 1 year ago
committed by some
parent
commit
99c3a66f75
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 5
      playbooks/packages/roles/enough-pip/tasks/enough-pip.yml

5
playbooks/packages/roles/enough-pip/tasks/enough-pip.yml

@ -22,9 +22,12 @@
- name: python setup.py sdist
shell: |
set -x
set -xe
cd $(git rev-parse --show-toplevel)
version={{ enough_version.stdout }}
export HOME=$(mktemp -d)
git config --global user.email somename@mail.com
git config --global user.name somename
git tag -a -f -m "version $version" $version
python setup.py sdist
git tag -d $version

Loading…
Cancel
Save