diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4207455..0179ada 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,9 @@ variables: script: - find build/ - icinga-build-upload-aptly + only: + - master + - tags ################################### # EPEL diff --git a/icinga-php-thirdparty.spec b/icinga-php-thirdparty.spec index 0692517..6d4fd48 100644 --- a/icinga-php-thirdparty.spec +++ b/icinga-php-thirdparty.spec @@ -10,7 +10,7 @@ Summary: Icinga PHP Thirdparty for Icinga Web 2 Group: Applications/System License: GPLv2+ URL: https://icinga.com -Source0: https://github.com/Icinga/%{module_name}/archive/refs/heads/nightly/%{version}-dev.tar.gz +Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz BuildArch: noarch %global basedir %{_datadir}/icinga-php/vendor @@ -23,7 +23,7 @@ used by Icinga Web products into one piece, which can be integrated as library into Icinga Web 2. %prep -%setup -n %{module_name}-nightly-%{version}-dev +%setup -q %install mkdir -vp %{buildroot}%{basedir}