mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-05-04 21:36:18 +02:00
Set private token of release-cli call to project token
As suggested by @klausenbusk, this ensures that the releases are created by the project bot/user instead of the schedule-owner.
This commit is contained in:
parent
cd3beac574
commit
ce17571d1f
@ -258,6 +258,7 @@ release:
|
||||
# But it doesn't appear that those downloads are public. I consider this a bug and hopefully it's fixed in a future version!
|
||||
echo "Creating release"
|
||||
release-cli create --name "Release ${BUILD_VERSION}" --description "Release ${BUILD_VERSION}" \
|
||||
--private-token "${GITLAB_PROJECT_TOKEN}" \
|
||||
--tag-name v${BUILD_VERSION} --ref "releases" \
|
||||
--assets-link "{\"name\":\"base-${BUILD_VERSION}.tar.xz\",\"url\":\"${base_url}\"}" \
|
||||
--assets-link "{\"name\":\"base-${BUILD_VERSION}.tar.xz.SHA256\",\"url\":\"${base_sha_url}\"}" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user