Skip to content

Commit

Permalink
ayufan: ci: fix release version
Browse files Browse the repository at this point in the history
Change-Id: I982e58171fcb565ca76a4e9ca4bc6d289450e72b
  • Loading branch information
ayufan committed Jul 5, 2018
1 parent 39caa9d commit 84f912d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ build:
- |
set -x
export RELEASE_NAME="$(./dev-make version)"
export RELEASE_TITLE="$(./dev-make version)"
export RELEASE_NAME="$(./dev-make version BOARD_TARGET=rock64)"
export RELEASE_TITLE="$(./dev-make version BOARD_TARGET=rock64)"
export DESCRIPTION="$CI_PROJECT_URL/pipelines/$CI_PIPELINE_ID"
github-release release \
Expand All @@ -34,14 +34,12 @@ build:
--target "${CI_COMMIT_SHA}" \
--draft
pushd ../
for i in *.deb *.img.xz; do
github-release upload \
--tag "${RELEASE_NAME}" \
--name "${i}" \
--file "${i}"
done
popd
github-release edit \
--tag "${RELEASE_NAME}" \
Expand Down

0 comments on commit 84f912d

Please sign in to comment.