diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 672dfc906a8ab7..7d576f195838a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,6 @@ variables: stages: [build] before_script: - - ln -s "$PWD" /usr/src/kernel-build - - cd /usr/src/kernel-build - ccache -M 0 -F 0 build: @@ -34,16 +32,16 @@ build: --target "${CI_COMMIT_SHA}" \ --draft - pushd ../ - for i in *.deb; do + for i in ../*$(./dev-make info)*.deb; do github-release upload \ --tag "${RELEASE_NAME}" \ - --name "${i}" \ + --name "$(basename "${i}")" \ --file "${i}" done - popd github-release edit \ --tag "${RELEASE_NAME}" \ --name "${RELEASE_TITLE}" \ --description "${DESCRIPTION}" + + rm ../*$(./dev-make info)*.deb