Checking out master will often mean its testing the wrong commit, since
merge requests rarely are in master.
script:
- cd tests
- cp dump_internal_metadata_format.py dump.py # since this isn't in old commits
+ - export GITCOMMIT=`git describe`
- git checkout 0.7.0 # or any old commit of your choosing
- cd ..
- sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
- ../tests/dump.py
- cd ..
- git reset --hard
- - git checkout master
+ - git checkout $GITCOMMIT
- cd fdroiddata
- ../tests/dump.py
- "sed -i -e '/AuthorWebSite/d'