use temporary directory instead of ./release