diff --git a/.travis.yml b/.travis.yml index 26dadaf8f9..03efe5bc62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,10 +47,10 @@ deploy: file: - build/OpenRA-$TRAVIS_TAG.exe - build/OpenRA-$TRAVIS_TAG.zip - - build/openra-$DOTVERSION-1-noarch.rpm + - build/openra-$DOTVERSION-1.noarch.rpm - build/openra_$DOTVERSION_all.deb skip_cleanup: true on: - all_branches: false + all_branches: true tags: true repo: OpenRA/OpenRA diff --git a/packaging/linux/rpm/buildpackage.sh b/packaging/linux/rpm/buildpackage.sh index e11fbe49d8..8332eec45b 100755 --- a/packaging/linux/rpm/buildpackage.sh +++ b/packaging/linux/rpm/buildpackage.sh @@ -7,6 +7,7 @@ then fi mkdir ~/rpmbuild/ +mkdir ~/rpmbuild/SPECS # Replace any dashes in the version string with periods PKGVERSION=`echo $1 | sed "s/-/\\./g"`