Skip to content

Commit

Permalink
src/release.sh: only remove the tempdir when actually pushing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
austin987 committed Feb 6, 2021
1 parent 34a26b4 commit 4572fe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ if [ ${nopush} = 1 ] ; then
echo "--no-push used, not uploading signature file"
else
python3 src/github-api-releases.py "${tmpdir}/${version}.tar.gz.asc" Winetricks winetricks "${version}"
rm -rf "${tmpdir}"
fi

rm -rf "${tmpdir}"

exit 0

0 comments on commit 4572fe8

Please sign in to comment.