update pipelines
This commit is contained in:
parent
c4aa55bb15
commit
7cb50a53b2
1 changed files with 6 additions and 2 deletions
|
@ -33,7 +33,7 @@ upload:
|
||||||
- if: $VERSION
|
- if: $VERSION
|
||||||
script:
|
script:
|
||||||
- file=$( find ./build -name "*.deb" | head -n 1 )
|
- file=$( find ./build -name "*.deb" | head -n 1 )
|
||||||
- export filename=$( basename $file )
|
- filename=$( basename $file )
|
||||||
- package_url="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gtkgreet/${VERSION}/${filename}"
|
- package_url="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gtkgreet/${VERSION}/${filename}"
|
||||||
- "curl --header \"JOB-TOKEN: $CI_JOB_TOKEN\" --upload-file \"${file}\" \"${package_url}\""
|
- "curl --header \"JOB-TOKEN: $CI_JOB_TOKEN\" --upload-file \"${file}\" \"${package_url}\""
|
||||||
|
|
||||||
|
@ -43,9 +43,13 @@ release:
|
||||||
rules:
|
rules:
|
||||||
- if: $VERSION
|
- if: $VERSION
|
||||||
script:
|
script:
|
||||||
|
- file=$( find ./build -name "*.deb" | head -n 1 )
|
||||||
|
- filename=$( basename $file )
|
||||||
|
- arch=$( uname -m )
|
||||||
|
- package_url="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gtkgreet/${VERSION}/${filename}"
|
||||||
- echo "making release! ${package_url}"
|
- echo "making release! ${package_url}"
|
||||||
release:
|
release:
|
||||||
tag_name: "${VERSION}-${CI_RUNNER_EXECUTABLE_ARCH#*/}"
|
tag_name: "${VERSION}-${arch}"
|
||||||
description: "batalert ${VERSION} ${CI_RUNNER_EXECUTABLE_ARCH}"
|
description: "batalert ${VERSION} ${CI_RUNNER_EXECUTABLE_ARCH}"
|
||||||
assets:
|
assets:
|
||||||
links:
|
links:
|
||||||
|
|
Reference in a new issue