Skip to content

Commit

Permalink
dev.mk: send only files of that kernel version
Browse files Browse the repository at this point in the history
Change-Id: Id419addac5ed55ad7fbbf18783ba19d5278e945f
  • Loading branch information
ayufan committed Aug 9, 2018
1 parent 20e2018 commit f13a8a9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit f13a8a9

Please sign in to comment.